Commit 59857d6a authored by Fantix King's avatar Fantix King Committed by Denis Bilenko

Fix metaclass issue in PY3, refs #38.

parent fc195a83
...@@ -208,9 +208,7 @@ class TestCaseMetaClass(type): ...@@ -208,9 +208,7 @@ class TestCaseMetaClass(type):
return type.__new__(meta, classname, bases, classDict) return type.__new__(meta, classname, bases, classDict)
class TestCase(BaseTestCase): class TestCase(TestCaseMetaClass("NewBase", (BaseTestCase,), {})):
__metaclass__ = TestCaseMetaClass
__timeout__ = 1 __timeout__ = 1
switch_expected = 'default' switch_expected = 'default'
error_fatal = True error_fatal = True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment