[pypy-commit] stmgc c7-refactor: fix

Remi Meier noreply at buildbot.pypy.org
Mon Feb 24 16:46:53 CET 2014


Author: Remi Meier
Branch: c7-refactor
Changeset: r835:bc9b7085aa1b
Date: 2014-02-24 16:45 +0100
http://bitbucket.org/pypy/stmgc/changeset/bc9b7085aa1b/

Log:	fix

diff --git a/c7/test/test_random.py b/c7/test/test_random.py
--- a/c7/test/test_random.py
+++ b/c7/test/test_random.py
@@ -506,7 +506,7 @@
                            "self.switch", new_thread_state.num))
         if conflicts:
             new_thread_state.abort_transaction()
-        else:
+        elif trs:
             new_thread_state.pop_roots(ex)
             new_thread_state.reload_roots(ex)
 


More information about the pypy-commit mailing list