diff options
author | Brett Cannon <brett@python.org> | 2013-10-18 20:55:15 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-10-18 20:55:15 (GMT) |
commit | c5168153538b46885a5345033c124d4a3d6c9dcc (patch) | |
tree | a8ead0861e26a2d0e0a5f6f3c3804f544b7c4b46 /Lib/test/test_importlib | |
parent | 1340049f65d01b2ea7d3ee13d19eae5939726cf7 (diff) | |
download | cpython-c5168153538b46885a5345033c124d4a3d6c9dcc.zip cpython-c5168153538b46885a5345033c124d4a3d6c9dcc.tar.gz cpython-c5168153538b46885a5345033c124d4a3d6c9dcc.tar.bz2 |
Fix test to not consider mixin a standalone test
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r-- | Lib/test/test_importlib/test_locks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/test_locks.py b/Lib/test/test_importlib/test_locks.py index c97de93..dc97ba1 100644 --- a/Lib/test/test_importlib/test_locks.py +++ b/Lib/test/test_importlib/test_locks.py @@ -18,7 +18,7 @@ else: from test import lock_tests if threading is not None: - class ModuleLockAsRLockTests(lock_tests.RLockTests): + class ModuleLockAsRLockTests: locktype = classmethod(lambda cls: cls.LockType("some_lock")) # _is_owned() unsupported |