aboutsummaryrefslogtreecommitdiff
path: root/pypy
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-12-27 07:30:56 +0200
committerMatti Picus <matti.picus@gmail.com>2020-12-27 07:30:56 +0200
commitb430111f719d3dcddd4ef44f5ae81efda7ca04a5 (patch)
tree3622355a99deba0b9cd601e9d56a93aae4ea8b3c /pypy
parentfix translation (diff)
downloadpypy-b430111f719d3dcddd4ef44f5ae81efda7ca04a5.tar.gz
pypy-b430111f719d3dcddd4ef44f5ae81efda7ca04a5.tar.bz2
pypy-b430111f719d3dcddd4ef44f5ae81efda7ca04a5.zip
fix test, since importing re no longer imports types (via copy_reg)
Diffstat (limited to 'pypy')
-rw-r--r--pypy/module/thread/test/test_import_lock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pypy/module/thread/test/test_import_lock.py b/pypy/module/thread/test/test_import_lock.py
index 989b8759d6..6ca8b71bd7 100644
--- a/pypy/module/thread/test/test_import_lock.py
+++ b/pypy/module/thread/test/test_import_lock.py
@@ -105,7 +105,7 @@ class TestImportLock:
assert importlock.count == 0
# A new module
importhook(space, 're')
- assert importlock.count >= 9
+ assert importlock.count >= 7
# Import it again
previous_count = importlock.count
importhook(space, 're')