File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -62,14 +62,12 @@ def test_default_encoding(self):
6262 self .run_test (self .source_line .encode ('utf-8' ))
6363
6464 # [encoding first line]
65- @unittest .expectedFailure # TODO: RUSTPYTHON; UnicodeDecodeError: invalid utf-8 sequence of 1 bytes from index 17
6665 def test_encoding_on_first_line (self ):
6766 encoding = 'Latin-1'
6867 source = self .create_source (encoding )
6968 self .run_test (source )
7069
7170 # [encoding second line]
72- @unittest .expectedFailure # TODO: RUSTPYTHON; UnicodeDecodeError: invalid utf-8 sequence of 1 bytes from index 34
7371 def test_encoding_on_second_line (self ):
7472 source = b"#/usr/bin/python\n " + self .create_source ('Latin-1' )
7573 self .run_test (source )
@@ -84,7 +82,6 @@ def test_bom_and_utf_8(self):
8482 self .run_test (source )
8583
8684 # [BOM conflict]
87- @unittest .expectedFailure # TODO: RUSTPYTHON; UnicodeDecodeError: invalid utf-8 sequence of 1 bytes from index 20
8885 def test_bom_conflict (self ):
8986 source = codecs .BOM_UTF8 + self .create_source ('latin-1' )
9087 with self .assertRaises (SyntaxError ):
Original file line number Diff line number Diff line change @@ -752,7 +752,6 @@ def test_main_recursion_error(self):
752752 with infinite_recursion (25 ):
753753 self .assertRaises (RecursionError , run_path , zip_name )
754754
755- @unittest .expectedFailure # TODO: RUSTPYTHON; detect encoding comments in files
756755 def test_encoding (self ):
757756 with temp_dir () as script_dir :
758757 filename = os .path .join (script_dir , 'script.py' )
You can’t perform that action at this time.
0 commit comments