diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/unittest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest.py b/Lib/unittest.py index c4b124b..adbbe8a 100644 --- a/Lib/unittest.py +++ b/Lib/unittest.py @@ -565,7 +565,7 @@ class TestLoader: name = obj.__name__ inst = parent(name) # static methods follow a different path - if not(isinstance(getattr(inst, name), types.FunctionType)): + if not isinstance(getattr(inst, name), types.FunctionType): return TestSuite([inst]) elif isinstance(obj, TestSuite): return obj |