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 7e8ba7a commit 554a20fCopy full SHA for 554a20f
Lib/test/test_cmd_line.py
@@ -173,7 +173,7 @@ def test_large_PYTHONPATH(self):
173
with test.support.EnvironmentVarGuard() as env:
174
path1 = "ABCDE" * 100
175
path2 = "FGHIJ" * 100
176
- env['PYTHONPATH'] = path1 + os.pathsep + path2
+ env.set('PYTHONPATH', path1 + os.pathsep + path2)
177
p = _spawn_python('-S', '-c', 'import sys; print(sys.path)')
178
stdout, _ = p.communicate()
179
self.assert_(path1.encode('ascii') in stdout)
0 commit comments