Thanks to visit codestin.com Credit goes to github.com
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 237e5cb commit 62d5118Copy full SHA for 62d5118
1 file changed
Lib/test/test_subprocess.py
@@ -339,6 +339,10 @@ def test_env(self):
339
stdout, stderr = p.communicate()
340
self.assertEqual(stdout, b"orange")
341
342
+ # Windows requires at least the SYSTEMROOT environment variable to start
343
+ # Python
344
+ @unittest.skipIf(sys.platform == 'win32',
345
+ 'cannot test an empty env on Windows')
346
@unittest.skipIf(sysconfig.get_config_var('Py_ENABLE_SHARED') is not None,
347
'the python library cannot be loaded '
348
'with an empty environment')
0 commit comments