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):
return type.__new__(meta, classname, bases, classDict)
class TestCase(BaseTestCase):
__metaclass__ = TestCaseMetaClass
class TestCase(TestCaseMetaClass("NewBase", (BaseTestCase,), {})):
__timeout__ = 1
switch_expected = 'default'
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