From 6e561994a1e668668dfd0280b906769c8bf0684a Mon Sep 17 00:00:00 2001 From: Jonathan Lange Date: Wed, 17 Jan 2007 22:39:01 +1100 Subject: whitespace cleanup --- python/SConscript | 2 +- python/subunit/tests/TestUtil.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'python') 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. -- cgit v1.2.1