[pypy-commit] pypy py3.3: Remove final unnecessary change to test_import_lock
marky1991
pypy.commits at gmail.com
Tue Jan 12 22:24:14 EST 2016
Author: marky1991
Branch: py3.3
Changeset: r81713:03071883cceb
Date: 2016-01-09 16:07 -0500
http://bitbucket.org/pypy/pypy/changeset/03071883cceb/
Log: Remove final unnecessary change to test_import_lock
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
@@ -95,9 +95,9 @@
importlock.count += 1
original_acquire()
importlock.count = 0
- monkeypatch.setattr(importlock.__class__, 'acquire_lock', acquire_lock)
monkeypatch.setattr(importlock, 'acquire_lock', acquire_lock)
# An already imported module
+
importhook(space, 'sys')
assert importlock.count == 0
# A new module
More information about the pypy-commit
mailing list