summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2014-05-26 01:22:35 (GMT)
committerRaymond Hettinger <python@rcn.com>2014-05-26 01:22:35 (GMT)
commit62f4dad81607d8d0a70223ef3feacdfd3aa5e898 (patch)
tree5e4c3b7ccb6ab56240b77da3946c4e0a301c72f3 /Lib/test/test_importlib
parentfa4ed0c145f2e17ccd59c2180cbf7be07c8c872d (diff)
downloadcpython-62f4dad81607d8d0a70223ef3feacdfd3aa5e898.zip
cpython-62f4dad81607d8d0a70223ef3feacdfd3aa5e898.tar.gz
cpython-62f4dad81607d8d0a70223ef3feacdfd3aa5e898.tar.bz2
Issue 21137: Better repr for threading.Lock()
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r--Lib/test/test_importlib/test_locks.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_importlib/test_locks.py b/Lib/test/test_importlib/test_locks.py
index 0805054..4c01177 100644
--- a/Lib/test/test_importlib/test_locks.py
+++ b/Lib/test/test_importlib/test_locks.py
@@ -31,6 +31,9 @@ if threading is not None:
test_timeout = None
# _release_save() unsupported
test_release_save_unacquired = None
+ # lock status in repr unsupported
+ test_repr = None
+ test_locked_repr = None
LOCK_TYPES = {kind: splitinit._bootstrap._ModuleLock
for kind, splitinit in init.items()}