summaryrefslogtreecommitdiff
path: root/python
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
parent788efa722dc1f40b7661fa1f0429c156e33e74a6 (diff)
downloadsubunit-git-6e561994a1e668668dfd0280b906769c8bf0684a.tar.gz
whitespace cleanup
Diffstat (limited to 'python')
-rw-r--r--python/SConscript2
-rw-r--r--python/subunit/tests/TestUtil.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/python/SConscript b/python/SConscript
index d537e3e..8eb1136 100644
--- a/python/SConscript
+++ b/python/SConscript
@@ -12,7 +12,7 @@ prefix = os.path.commonprefix([
distutils.sysconfig.get_python_lib(),
distutils.sysconfig.get_python_inc(),
])
-# suffix to install .py files to is distutils.sysconfig.get_python_lib()
+# suffix to install .py files to is distutils.sysconfig.get_python_lib()
# after the common prefix
python_suffix = distutils.sysconfig.get_python_lib()[len(prefix):]
# install path for python is then in DESTDIR + python_suffix
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.