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 5bd7d39 commit 7b6e2dbCopy full SHA for 7b6e2db
1 file changed
Lib/test/test_os/test_os.py
@@ -2666,8 +2666,11 @@ def test_execve_env_concurrent_mutation_with_fspath_windows(self):
2666
code = """
2667
import os, sys
2668
2669
- assert list(os.environ.keys()) == ["SYSTEMROOT"]
2670
- assert list(os.environ.values()) == [{SYSTEMROOT!r}]
+ assert "SYSTEMROOT" in os.environ, list(os.environ.keys())
+ assert os.environ["SYSTEMROOT"] == {SYSTEMROOT!r}, (
2671
+ repr(os.environ["SYSTEMROOT"]),
2672
+ repr({SYSTEMROOT!r}),
2673
+ )
2674
2675
class MyPath:
2676
def __fspath__(self):
0 commit comments