@@ -817,10 +817,12 @@ def test_output_current_year(self):
817
817
self .assertIn (b'January' , stdout )
818
818
self .assertIn (b'Mo Tu We Th Fr Sa Su' , stdout )
819
819
820
+ @unittest .skipIf (sys .platform == 'win32' , 'TODO: RUSTPYTHON Windows' )
820
821
def test_output_year (self ):
821
822
stdout = self .run_ok ('2004' )
822
823
self .assertEqual (stdout , conv (result_2004_text ))
823
824
825
+ @unittest .skipIf (sys .platform == 'win32' , 'TODO: RUSTPYTHON Windows' )
824
826
def test_output_month (self ):
825
827
stdout = self .run_ok ('2004' , '1' )
826
828
self .assertEqual (stdout , conv (result_2004_01_text ))
@@ -858,6 +860,7 @@ def test_option_width(self):
858
860
stdout = self .run_ok ('--width' , '3' , '2004' )
859
861
self .assertIn (b'Mon Tue Wed Thu Fri Sat Sun' , stdout )
860
862
863
+ @unittest .skipIf (sys .platform == 'win32' , 'TODO: RUSTPYTHON Windows' )
861
864
def test_option_lines (self ):
862
865
self .assertFailure ('-l' )
863
866
self .assertFailure ('--lines' )
@@ -872,13 +875,15 @@ def test_option_spacing(self):
872
875
stdout = self .run_ok ('--spacing' , '8' , '2004' )
873
876
self .assertIn (b'Su Mo' , stdout )
874
877
878
+ @unittest .skipIf (sys .platform == 'win32' , 'TODO: RUSTPYTHON Windows' )
875
879
def test_option_months (self ):
876
880
self .assertFailure ('-m' )
877
881
self .assertFailure ('--month' )
878
882
self .assertFailure ('-m' , 'spam' )
879
883
stdout = self .run_ok ('--months' , '1' , '2004' )
880
884
self .assertIn (conv ('\n Mo Tu We Th Fr Sa Su\n ' ), stdout )
881
885
886
+ @unittest .skipIf (sys .platform == 'win32' , 'TODO: RUSTPYTHON Windows' )
882
887
def test_option_type (self ):
883
888
self .assertFailure ('-t' )
884
889
self .assertFailure ('--type' )
0 commit comments