-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
Decorated classes fails on super() calls, because after decoration class instance changes to None.
parameterized/parameterized/parameterized.py
Line 572 in 85222cf
| def decorator(base_class): |
base_class.
For example:
import unittest
@parameterized.parameterized_class([
{'foo': 'bar'}
])
class Test(unittest.TestCase):
def setUp(self):
super(Test, self).setUp()
def test(self):
assert FalseFails with:
... in setUp
super(Test, self).setUp()
TypeError: super() argument 1 must be type, not None
Metadata
Metadata
Assignees
Labels
No labels