From: Brett Cannon Date: Fri, 18 Oct 2013 20:55:15 +0000 (-0400) Subject: Fix test to not consider mixin a standalone test X-Git-Tag: v3.4.0a4~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c5168153538b46885a5345033c124d4a3d6c9dcc;p=thirdparty%2FPython%2Fcpython.git Fix test to not consider mixin a standalone test --- diff --git a/Lib/test/test_importlib/test_locks.py b/Lib/test/test_importlib/test_locks.py index c97de9342879..dc97ba15671a 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