8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb7f7eb commit 491a642Copy full SHA for 491a642
Lib/test/test_types.py
@@ -2516,12 +2516,13 @@ def setUpClass(cls):
2516
import interpreters
2517
except ModuleNotFoundError:
2518
raise unittest.SkipTest('subinterpreters required')
2519
- import test.support.channels # noqa: F401
+ 7136 from test.support import channels # noqa: F401
2520
+ cls.create_channel = staticmethod(channels.create)
2521
2522
@cpython_only
2523
@no_rerun('channels (and queues) might have a refleak; see gh-122199')
2524
def test_static_types_inherited_slots(self):
- rch, sch = test.support.channels.create()
2525
+ rch, sch = self.create_channel()
2526
2527
script = textwrap.dedent("""
2528
import test.support
0 commit comments