File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -579,8 +579,6 @@ def test_pep_409_verbiage(self):
579579 self .assertTrue (text [1 ].startswith (' File ' ))
580580 self .assertTrue (text [3 ].startswith ('NameError' ))
581581
582- # TODO: RUSTPYTHON
583- @unittest .expectedFailure
584582 def test_non_ascii (self ):
585583 # Mac OS X denies the creation of a file with an invalid UTF-8 name.
586584 # Windows allows creating a name with an arbitrary bytes name, but
@@ -604,6 +602,10 @@ def test_non_ascii(self):
604602 'stdout=%r stderr=%r' % (stdout , stderr ))
605603 self .assertEqual (0 , rc )
606604
605+ # TODO: RUSTPYTHON
606+ if sys .platform == "linux" :
607+ test_non_ascii = unittest .expectedFailure (test_non_ascii )
608+
607609 def test_issue20500_exit_with_exception_value (self ):
608610 script = textwrap .dedent ("""\
609611 import sys
You can’t perform that action at this time.
0 commit comments