Skip to content

Commit a7d9e74

Browse files
committed
fix Windows failures (take 2)
1 parent 5bd7d39 commit a7d9e74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_os/test_os.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2666,8 +2666,8 @@ def test_execve_env_concurrent_mutation_with_fspath_windows(self):
26662666
code = """
26672667
import os, sys
26682668
2669-
assert list(os.environ.keys()) == ["SYSTEMROOT"]
2670-
assert list(os.environ.values()) == [{SYSTEMROOT!r}]
2669+
assert "SYSTEMROOT" in os.environ
2670+
assert os.environ["SYSTEMROOT"] == "{SYSTEMROOT!r}"
26712671
26722672
class MyPath:
26732673
def __fspath__(self):

0 commit comments

Comments
 (0)