[pypy-svn] r5672 - pypy/trunk/src/pypy/tool

rxe at codespeak.net rxe at codespeak.net
Sun Jul 25 23:08:09 CEST 2004


Author: rxe
Date: Sun Jul 25 23:08:09 2004
New Revision: 5672

Modified:
   pypy/trunk/src/pypy/tool/testit.py
Log:
Cosmetic - please ignore.


Modified: pypy/trunk/src/pypy/tool/testit.py
==============================================================================
--- pypy/trunk/src/pypy/tool/testit.py	(original)
+++ pypy/trunk/src/pypy/tool/testit.py	Sun Jul 25 23:08:09 2004
@@ -290,12 +290,10 @@
 def objspace(name='', new_flag=False):
     if name and Options.spacename and name != Options.spacename:
         raise TestSkip
-
     if new_flag:
         space = option.objspace(name, _spacecache={})    
     else:
-        space = option.objspace(name)
-        
+        space = option.objspace(name)        
     if Options.trace_flag:
         # XXX This really sucks as a means to turn on tracing for a sole unit
         # test (esp at app level).  I can't see an obvious way to do this
@@ -304,7 +302,6 @@
         from pypy.objspace.trace import create_trace_space
         create_trace_space(space)
         space.settrace()
-
     return space
 
 def new_objspace(name=''):
@@ -338,7 +335,6 @@
 
 def get_test_options():
     options = option.get_standard_options()
-
     options.append(make_option(
         '-p', action="store_true", dest="trace_flag",
         help="augment object space with tracing capabilities"))
@@ -365,7 +361,6 @@
         run_tests_on_space(suite, spacename)
 
 def run_tests_on_space(suite, spacename=''):
-
     """Run the suite on the given space."""
     if Options.runcts:
         runner = CtsTestRunner() # verbosity=Options.verbose+1)



More information about the Pypy-commit mailing list