[Zope-Checkins] CVS: Zope/utilities - testrunner.py:1.32
Fred L. Drake, Jr.
fred@zope.com
Thu, 30 Jan 2003 14:24:03 -0500
Update of /cvs-repository/Zope/utilities
In directory cvs.zope.org:/tmp/cvs-serv16238
Modified Files:
testrunner.py
Log Message:
Wrap some long lines.
=== Zope/utilities/testrunner.py 1.31 => 1.32 ===
--- Zope/utilities/testrunner.py:1.31 Fri Nov 22 07:56:05 2002
+++ Zope/utilities/testrunner.py Thu Jan 30 14:24:00 2003
@@ -93,7 +93,8 @@
def runSuite(self, suite):
if suite:
- runner=unittest.TextTestRunner(stream=sys.stderr, verbosity=self.verbosity)
+ runner=unittest.TextTestRunner(stream=sys.stderr,
+ verbosity=self.verbosity)
self.results.append(runner.run(suite))
else:
self.report('No suitable tests found')
@@ -151,7 +152,8 @@
except KeyboardInterrupt:
raise
except:
- self.report('No test suite found in file:\n%s\n' % pathname)
+ self.report('No test suite found in file:\n%s\n'
+ % pathname)
if self.verbosity > 1:
traceback.print_exc()
suite = None
@@ -187,7 +189,7 @@
dirname, name = os.path.split(filename)
if dirname:
if self.verbosity > 2:
- sys.stderr.write( '*** Changing directory to: %s\n' % dirname )
+ sys.stderr.write('*** Changing directory to: %s\n' % dirname)
os.chdir(dirname)
self.report('Running: %s' % filename)
try:
@@ -202,7 +204,7 @@
else:
self.report('No test suite found in file:\n%s\n' % filename)
if self.verbosity > 2:
- sys.stderr.write( '*** Restoring directory to: %s\n' % working_dir )
+ sys.stderr.write('*** Restoring directory to: %s\n' % working_dir)
os.chdir(working_dir)
def remove_stale_bytecode(arg, dirname, names):