[Python-3000-checkins] r55255 - python/branches/p3yk/Lib/test/test_listcomps.py python/branches/p3yk/Lib/test/test_setcomps.py

georg.brandl python-3000-checkins at python.org
Fri May 11 12:11:25 CEST 2007


Author: georg.brandl
Date: Fri May 11 12:11:25 2007
New Revision: 55255

Modified:
   python/branches/p3yk/Lib/test/test_listcomps.py
   python/branches/p3yk/Lib/test/test_setcomps.py
Log:
Fix wrong imports.


Modified: python/branches/p3yk/Lib/test/test_listcomps.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_listcomps.py	(original)
+++ python/branches/p3yk/Lib/test/test_listcomps.py	Fri May 11 12:11:25 2007
@@ -435,7 +435,7 @@
         import gc
         counts = [None] * 5
         for i in range(len(counts)):
-            test_support.run_doctest(test_genexps, verbose)
+            test_support.run_doctest(test_listcomps, verbose)
             gc.collect()
             counts[i] = sys.gettotalrefcount()
         print(counts)

Modified: python/branches/p3yk/Lib/test/test_setcomps.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_setcomps.py	(original)
+++ python/branches/p3yk/Lib/test/test_setcomps.py	Fri May 11 12:11:25 2007
@@ -436,15 +436,15 @@
 def test_main(verbose=None):
     import sys
     from test import test_support
-    from test import test_listcomps
-    test_support.run_doctest(test_listcomps, verbose)
+    from test import test_setcomps
+    test_support.run_doctest(test_setcomps, verbose)
 
     # verify reference counting
     if verbose and hasattr(sys, "gettotalrefcount"):
         import gc
         counts = [None] * 5
         for i in range(len(counts)):
-            test_support.run_doctest(test_genexps, verbose)
+            test_support.run_doctest(test_setcomps, verbose)
             gc.collect()
             counts[i] = sys.gettotalrefcount()
         print(counts)


More information about the Python-3000-checkins mailing list