Author: Philip Jenvey <[email protected]>
Branch: 
Changeset: r84432:c4c19a588369
Date: 2016-05-14 11:18 -0700
http://bitbucket.org/pypy/pypy/changeset/c4c19a588369/

Log:    do a better job of avoiding garbage for test_13_genexp, py3k noticed
        more of it after use-gc-del-3's destructor changes

diff --git a/lib-python/2.7/test/test_sys_settrace.py 
b/lib-python/2.7/test/test_sys_settrace.py
--- a/lib-python/2.7/test/test_sys_settrace.py
+++ b/lib-python/2.7/test/test_sys_settrace.py
@@ -328,8 +328,8 @@
 
     def test_13_genexp(self):
         if self.using_gc:
+            gc.enable()
             test_support.gc_collect()
-            gc.enable()
         try:
             self.run_test(generator_example)
             # issue1265: if the trace function contains a generator,
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to