summaryrefslogtreecommitdiff
path: root/python/subunit/tests/TestUtil.py
diff options
context:
space:
mode:
authorJonathan Lange <jml@mumak.net>2007-01-17 22:39:01 +1100
committerJonathan Lange <jml@mumak.net>2007-01-17 22:39:01 +1100
commit6e561994a1e668668dfd0280b906769c8bf0684a (patch)
tree88908e3ebea9ce8f6f90147c2e3de03524763c0a /python/subunit/tests/TestUtil.py
parent788efa722dc1f40b7661fa1f0429c156e33e74a6 (diff)
downloadsubunit-git-6e561994a1e668668dfd0280b906769c8bf0684a.tar.gz
whitespace cleanup
Diffstat (limited to 'python/subunit/tests/TestUtil.py')
-rw-r--r--python/subunit/tests/TestUtil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/subunit/tests/TestUtil.py b/python/subunit/tests/TestUtil.py
index 7c6b5fb..1b5ba9c 100644
--- a/python/subunit/tests/TestUtil.py
+++ b/python/subunit/tests/TestUtil.py
@@ -42,7 +42,7 @@ def makeCollectingLogger():
def visitTests(suite, visitor):
"""A foreign method for visiting the tests in a test suite."""
for test in suite._tests:
- #Abusing types to avoid monkey patching unittest.TestCase.
+ #Abusing types to avoid monkey patching unittest.TestCase.
# Maybe that would be better?
try:
test.visit(visitor)
@@ -54,7 +54,7 @@ def visitTests(suite, visitor):
visitTests(test, visitor)
else:
print "unvisitable non-unittest.TestCase element %r (%r)" % (test, test.__class__)
-
+
class TestSuite(unittest.TestSuite):
"""I am an extended TestSuite with a visitor interface.