Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r93083:eb297be15f48
Date: 2017-11-19 10:20 +0100
http://bitbucket.org/pypy/pypy/changeset/eb297be15f48/

Log:    Fix this fragile test (it broke because of 167b802baf3b, unsure why)

diff --git a/pypy/module/thread/test/test_import_lock.py 
b/pypy/module/thread/test/test_import_lock.py
--- a/pypy/module/thread/test/test_import_lock.py
+++ b/pypy/module/thread/test/test_import_lock.py
@@ -105,7 +105,7 @@
         assert importlock.count == 0
         # A new module
         importhook(space, 're')
-        assert importlock.count == 9
+        assert importlock.count >= 9
         # Import it again
         previous_count = importlock.count
         importhook(space, 're')
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to