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 7c6681b commit c2ce013Copy full SHA for c2ce013
Lib/test/test_interpreters/test_api.py
@@ -2205,12 +2205,6 @@ def test_whence(self):
2205
self.assertEqual(whence, _interpreters.WHENCE_LEGACY_CAPI)
2206
2207
def test_get_current_missing(self):
2208
- with self.subTest('main'):
2209
- main, *_ = _interpreters.get_main()
2210
- interpid, whence = _interpreters.get_current()
2211
- self.assertEqual(interpid, main)
2212
- self.assertEqual(whence, _interpreters.WHENCE_RUNTIME)
2213
-
2214
script = f"""
2215
import contextvars
2216
from concurrent.interpreters import get_current
0 commit comments