mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
removed unusable set of parameters to function
This commit is contained in:
@@ -141,8 +141,6 @@ class TestLoader(unittest.TestLoader):
|
||||
if issubclass(parent, unittest.TestCase):
|
||||
return parent(obj.__name__)
|
||||
else:
|
||||
setattr(obj, "im_class", parent)
|
||||
setattr(obj, "im_self", obj)
|
||||
test_case = MethodTestCase(obj)
|
||||
test_case.lineno = lineno[1]
|
||||
return test_case
|
||||
|
||||
Reference in New Issue
Block a user