Author: Amaury Forgeot d'Arc <[email protected]>
Branch: 
Changeset: r78064:77cff5abb0b0
Date: 2015-06-13 00:15 +0200
http://bitbucket.org/pypy/pypy/changeset/77cff5abb0b0/

Log:    Fix imports in test_bz2

diff --git a/lib-python/2.7/test/test_bz2.py b/lib-python/2.7/test/test_bz2.py
--- a/lib-python/2.7/test/test_bz2.py
+++ b/lib-python/2.7/test/test_bz2.py
@@ -51,7 +51,7 @@
         self.filename = TESTFN
 
     def tearDown(self):
-        test_support.gc_collect()
+        support.gc_collect()
         if os.path.isfile(self.filename):
             os.unlink(self.filename)
 
@@ -249,7 +249,7 @@
             o = BZ2File(self.filename)
             del o
             if i % 100 == 0:
-                test_support.gc_collect()
+                support.gc_collect()
 
     def testOpenNonexistent(self):
         # "Test opening a nonexistent file"
@@ -312,7 +312,7 @@
             with support.start_threads(threads):
                 pass
 
-    @test_support.impl_detail()
+    @support.impl_detail()
     def testMixedIterationReads(self):
         # Issue #8397: mixed iteration and reads should be forbidden.
         with bz2.BZ2File(self.filename, 'wb') as f:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to