File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1292,8 +1292,11 @@ def test_universal_newlines_communicate_stdin_stdout_stderr(self):
12921292 # to stderr at exit of subprocess.
12931293 self .assertTrue (stderr .startswith ("eline2\n eline6\n eline7\n " ))
12941294
1295- # TODO: RUSTPYTHON
1296- @unittest .expectedFailure
1295+ import json # TODO: RUSTPYTHON see below
1296+ @unittest .skipIf (
1297+ json .loads (next ((x for x in sys .argv if "fail_env_changed" in x ), '{"fail_env_changed":False}' ))["fail_env_changed" ],
1298+ "TODO: RUSTPYTHON environment pollution when running rustpython -m test --fail-env-changed due to unknown reason"
1299+ )
12971300 def test_universal_newlines_communicate_encodings (self ):
12981301 # Check that universal newlines mode works for various encodings,
12991302 # in particular for encodings in the UTF-16 and UTF-32 families.
You can’t perform that action at this time.
0 commit comments