@@ -791,6 +791,8 @@ def test_env(self):
791791 stdout , stderr = p .communicate ()
792792 self .assertEqual (stdout , b"orange" )
793793
794+ # TODO: RUSTPYTHON
795+ @unittest .expectedFailure
794796 @unittest .skipUnless (sys .platform == "win32" , "Windows only issue" )
795797 def test_win32_duplicate_envs (self ):
796798 newenv = os .environ .copy ()
@@ -1779,6 +1781,8 @@ def test_run_with_pathlike_path_and_arguments(self):
17791781 res = subprocess .run (args )
17801782 self .assertEqual (res .returncode , 57 )
17811783
1784+ # TODO: RUSTPYTHON
1785+ @unittest .expectedFailure
17821786 @unittest .skipUnless (mswindows , "Maybe test trigger a leak on Ubuntu" )
17831787 def test_run_with_an_empty_env (self ):
17841788 # gh-105436: fix subprocess.run(..., env={}) broken on Windows
@@ -2165,6 +2169,8 @@ def test_extra_groups(self):
21652169 group_list = [65534 if gid != 65534 else 65533 ]
21662170 self ._test_extra_groups_impl (gid = gid , group_list = group_list )
21672171
2172+ # TODO: RUSTPYTHON
2173+ @unittest .expectedFailure
21682174 @unittest .skipUnless (hasattr (os , 'setgroups' ), 'no setgroups() on platform' )
21692175 def test_extra_groups_empty_list (self ):
21702176 self ._test_extra_groups_impl (gid = os .getegid (), group_list = [])
@@ -2200,6 +2206,7 @@ def _test_extra_groups_impl(self, *, gid, group_list):
22002206 subprocess .check_call (ZERO_RETURN_CMD ,
22012207 extra_groups = [name_group ])
22022208
2209+ @unittest .skip ("TODO: RUSTPYTHON; clarify failure condition" )
22032210 # No skip necessary, this test won't make it to a setgroup() call.
22042211 def test_extra_groups_invalid_gid_t_values (self ):
22052212 with self .assertRaises (ValueError ):
@@ -3460,6 +3467,8 @@ def test_communicate_repeated_call_after_stdout_close(self):
34603467 except subprocess .TimeoutExpired :
34613468 pass
34623469
3470+ # TODO: RUSTPYTHON
3471+ @unittest .expectedFailure
34633472 def test_preexec_at_exit (self ):
34643473 code = f"""if 1:
34653474 import atexit
0 commit comments