diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2018-06-13 14:02:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-13 14:02:39 (GMT) |
commit | ab4a1988fd4347484a7928394b94e2cdf5f8f2a7 (patch) | |
tree | 3c190bb5b2720781dae8d00b5bd9f804b5976817 /Lib/test/test__xxsubinterpreters.py | |
parent | 71ede00f140fa6b67a8ac17df68b80079efa8dc2 (diff) | |
download | cpython-ab4a1988fd4347484a7928394b94e2cdf5f8f2a7.zip cpython-ab4a1988fd4347484a7928394b94e2cdf5f8f2a7.tar.gz cpython-ab4a1988fd4347484a7928394b94e2cdf5f8f2a7.tar.bz2 |
bpo-33615: Re-enable subinterpreter tests. (#7552)
All the subinterpreter tests were disabled in gh-7513. This commit re-enables them, but leaves one bad test disabled. The test is partly causing problems because it makes assumptions about the availability of a high-level interpreters module (see PEP 554). So I'm disabling the test until such a high-level module is available.
Diffstat (limited to 'Lib/test/test__xxsubinterpreters.py')
-rw-r--r-- | Lib/test/test__xxsubinterpreters.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Lib/test/test__xxsubinterpreters.py b/Lib/test/test__xxsubinterpreters.py index b3ed27c..ac76cc1 100644 --- a/Lib/test/test__xxsubinterpreters.py +++ b/Lib/test/test__xxsubinterpreters.py @@ -12,7 +12,6 @@ import unittest from test import support from test.support import script_helper -raise unittest.SkipTest("FIXME: bpo-33615: test crash on some CIs") interpreters = support.import_module('_xxsubinterpreters') @@ -1317,6 +1316,10 @@ class ChannelTests(TestBase): self.assertEqual(obj, b'spam') self.assertEqual(out.strip(), 'send') + # XXX For now there is no high-level channel into which the + # sent channel ID can be converted... + # Note: this test caused crashes on some buildbots (bpo-33615). + @unittest.skip('disabled until high-level channels exist') def test_run_string_arg_resolved(self): cid = interpreters.channel_create() cid = interpreters._channel_id(cid, _resolve=True) @@ -1324,10 +1327,8 @@ class ChannelTests(TestBase): out = _run_output(interp, dedent(""" import _xxsubinterpreters as _interpreters - print(chan.end) - _interpreters.channel_send(chan, b'spam') - #print(chan.id.end) - #_interpreters.channel_send(chan.id, b'spam') + print(chan.id.end) + _interpreters.channel_send(chan.id, b'spam') """), dict(chan=cid.send)) obj = interpreters.channel_recv(cid) |