File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
graalpython/com.oracle.graal.python.test/src/tests Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 38
38
# SOFTWARE.
39
39
import random
40
40
import re
41
+ import sys
41
42
42
43
try :
43
44
import threading
@@ -334,11 +335,13 @@ def test_constructor(self):
334
335
lock = self .locktype ()
335
336
del lock
336
337
338
+ @unittest .skipIf (sys .implementation .name == 'cpython' and sys .version_info [0 :2 ] < (3 , 5 ), "skipping for cPython versions < 3.5" )
337
339
def test_repr (self ):
338
340
lock = self .locktype ()
339
341
self .assertRegexpMatches (repr (lock ), "<unlocked .* object (.*)?at .*>" )
340
342
del lock
341
343
344
+ @unittest .skipIf (sys .implementation .name == 'cpython' and sys .version_info [0 :2 ] < (3 , 5 ), "skipping for cPython versions < 3.5" )
342
345
def test_locked_repr (self ):
343
346
lock = self .locktype ()
344
347
lock .acquire ()
You can’t perform that action at this time.
0 commit comments