File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Lib/test/test_interpreters Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11import os
2- from test .support import load_package_tests , Py_GIL_DISABLED
3- import unittest
4-
5- if Py_GIL_DISABLED :
6- raise unittest .SkipTest ("GIL disabled" )
2+ from test .support import load_package_tests
73
84def load_tests (* args ):
95 return load_package_tests (os .path .dirname (__file__ ), * args )
Original file line number Diff line number Diff line change 55import unittest
66import time
77
8- from test .support import import_helper
8+ from test .support import import_helper , Py_GIL_DISABLED
99# Raise SkipTest if subinterpreters not supported.
1010_channels = import_helper .import_module ('_interpchannels' )
1111from concurrent import interpreters
1212from test .support import channels
1313from .utils import _run_output , TestBase
1414
1515
16+ if Py_GIL_DISABLED :
17+ raise unittest .SkipTest ("channels aren't completely thread-safe" )
18+
1619class LowLevelTests (TestBase ):
1720
1821 # The behaviors in the low-level module is important in as much
You can’t perform that action at this time.
0 commit comments