summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-11-26 10:14:51 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-11-26 10:14:51 (GMT)
commit4975a1f3f3aa54d1adcc6669972d9e1563405f23 (patch)
tree18a32b93ccbf5ef10a2d99f1df81fef609164d88
parent4a22b5dee77b6a3439e4a09362586c390bbdef02 (diff)
downloadcpython-4975a1f3f3aa54d1adcc6669972d9e1563405f23.zip
cpython-4975a1f3f3aa54d1adcc6669972d9e1563405f23.tar.gz
cpython-4975a1f3f3aa54d1adcc6669972d9e1563405f23.tar.bz2
Minor cleanup
-rw-r--r--Lib/unittest.py2
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