Commits

Maciej Fijalkowski  committed 51827b2

make sure we don't collect

  • Participants
  • Parent commits 7ef29ce

Comments (0)

Files changed (1)

File rpython/jit/backend/x86/test/test_zrpy_releasegil.py

     def define_simple(self):
         class Glob:
             def __init__(self):
-                self.events = []
+                glob.event = 0
         glob = Glob()
         #
 
                                    rffi.CCHARP)
 
         def func():
-            glob.events.append("x")
+            glob.event += 1
 
         def before(n, x):
             invoke_around_extcall(func, func)