@@ -801,11 +801,9 @@ def assertSigInt(self, cmd, *args, **kwargs):
801801 self .assertTrue (proc .stderr .endswith ("\n KeyboardInterrupt\n " ), proc .stderr )
802802 self .assertEqual (proc .returncode , self .EXPECTED_CODE )
803803
804- @unittest .expectedFailureIfWindows ("TODO: RUSTPYTHON; " )
805804 def test_pymain_run_file (self ):
806805 self .assertSigInt ([self .ham ])
807806
808- @unittest .expectedFailureIfWindows ("TODO: RUSTPYTHON; " )
809807 def test_pymain_run_file_runpy_run_module (self ):
810808 tmp = self .ham .parent
811809 run_module = tmp / "run_module.py"
@@ -819,7 +817,6 @@ def test_pymain_run_file_runpy_run_module(self):
819817 )
820818 self .assertSigInt ([run_module ], cwd = tmp )
821819
822- @unittest .expectedFailureIfWindows ("TODO: RUSTPYTHON; " )
823820 def test_pymain_run_file_runpy_run_module_as_main (self ):
824821 tmp = self .ham .parent
825822 run_module_as_main = tmp / "run_module_as_main.py"
@@ -833,22 +830,19 @@ def test_pymain_run_file_runpy_run_module_as_main(self):
833830 )
834831 self .assertSigInt ([run_module_as_main ], cwd = tmp )
835832
836- @unittest .expectedFailureIfWindows ("TODO: RUSTPYTHON; " )
837833 def test_pymain_run_command_run_module (self ):
838834 self .assertSigInt (
839835 ["-c" , "import runpy; runpy.run_module('ham')" ],
840836 cwd = self .ham .parent ,
841837 )
842838
843- @unittest .expectedFailureIfWindows ("TODO: RUSTPYTHON; " )
844839 def test_pymain_run_command (self ):
845840 self .assertSigInt (["-c" , "import ham" ], cwd = self .ham .parent )
846841
847842 @unittest .expectedFailure # TODO: RUSTPYTHON
848843 def test_pymain_run_stdin (self ):
849844 self .assertSigInt ([], input = "import ham" , cwd = self .ham .parent )
850845
851- @unittest .expectedFailureIfWindows ("TODO: RUSTPYTHON; " )
852846 def test_pymain_run_module (self ):
853847 ham = self .ham
854848 self .assertSigInt (["-m" , ham .stem ], cwd = ham .parent )
0 commit comments