mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Fix c23f25545f
for Python 2.
This commit is contained in:
parent
1ee8bc3480
commit
029c6993ad
@ -47,7 +47,7 @@ class C(%s
|
|||||||
def foo(self):
|
def foo(self):
|
||||||
raise self.MyException()""" %
|
raise self.MyException()""" %
|
||||||
('metaclass=log.MetaFirewall):\n' if sys.version_info[0] >= 3 else
|
('metaclass=log.MetaFirewall):\n' if sys.version_info[0] >= 3 else
|
||||||
'object):\n__metaclass__ = log.MetaFirewall'))
|
'object):\n __metaclass__ = log.MetaFirewall'))
|
||||||
|
|
||||||
def testCFooDoesNotRaise(self):
|
def testCFooDoesNotRaise(self):
|
||||||
c = self.C()
|
c = self.C()
|
||||||
|
Loading…
Reference in New Issue
Block a user