mirror of
https://github.com/python/cpython.git
synced 2025-09-25 01:43:11 +00:00
site.py is needed to set up paths
This commit is contained in:
parent
5c87ad07bd
commit
625af8e13e
1 changed files with 1 additions and 1 deletions
|
@ -2427,7 +2427,7 @@ class TestFlags(unittest.TestCase):
|
||||||
prog = ('from test.test_multiprocessing import TestFlags; ' +
|
prog = ('from test.test_multiprocessing import TestFlags; ' +
|
||||||
'TestFlags.run_in_child()')
|
'TestFlags.run_in_child()')
|
||||||
data = subprocess.check_output(
|
data = subprocess.check_output(
|
||||||
[sys.executable, '-E', '-S', '-O', '-c', prog])
|
[sys.executable, '-E', '-B', '-O', '-c', prog])
|
||||||
child_flags, grandchild_flags = json.loads(data.decode('ascii'))
|
child_flags, grandchild_flags = json.loads(data.decode('ascii'))
|
||||||
self.assertEqual(child_flags, grandchild_flags)
|
self.assertEqual(child_flags, grandchild_flags)
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue