[pypy-svn] r11624 - pypy/dist/lib-python-2.3.4/test

hpk at codespeak.net hpk at codespeak.net
Fri Apr 29 15:41:54 CEST 2005


Author: hpk
Date: Fri Apr 29 15:41:53 2005
New Revision: 11624

Modified:
   pypy/dist/lib-python-2.3.4/test/conftest.py
Log:
ups ... fix piling up ever more tests 



Modified: pypy/dist/lib-python-2.3.4/test/conftest.py
==============================================================================
--- pypy/dist/lib-python-2.3.4/test/conftest.py	(original)
+++ pypy/dist/lib-python-2.3.4/test/conftest.py	Fri Apr 29 15:41:53 2005
@@ -86,11 +86,13 @@
     # exported API 
     #
 
-    def intercept_test_support(suites=[], doctestmodules=[]): 
+    def intercept_test_support(): 
         """ intercept calls to test_support.run_doctest and run_suite. 
             Return doctestmodules, suites which will hold collected
             items from these test_support invocations. 
         """
+        suites = []
+        doctestmodules = []
         def hack_run_doctest(module, verbose=None): 
             doctestmodules.append(module) 
         test_support.run_doctest = hack_run_doctest 



More information about the Pypy-commit mailing list