@@ -18,7 +18,6 @@ def test_EOF_single_quote(self):
1818 self .assertEqual (str (cm .exception ), expect )
1919 self .assertEqual (cm .exception .offset , 1 )
2020
21- @unittest .expectedFailure # TODO: RUSTPYTHON
2221 def test_EOFS (self ):
2322 expect = ("unterminated triple-quoted string literal (detected at line 3) (<string>, line 1)" )
2423 with self .assertRaises (SyntaxError ) as cm :
@@ -45,7 +44,6 @@ def test_EOFS(self):
4544 self .assertEqual (cm .exception .text , "ä = '''thîs is " )
4645 self .assertEqual (cm .exception .offset , 5 )
4746
48- @unittest .expectedFailure # TODO: RUSTPYTHON
4947 @force_not_colorized
5048 def test_EOFS_with_file (self ):
5149 expect = ("(<string>, line 1)" )
@@ -86,15 +84,13 @@ def test_EOFS_with_file(self):
8684 ' ^' ,
8785 'SyntaxError: unterminated triple-quoted string literal (detected at line 4)' ])
8886
89- @unittest .expectedFailure # TODO: RUSTPYTHON
9087 @warnings_helper .ignore_warnings (category = SyntaxWarning )
9188 def test_eof_with_line_continuation (self ):
9289 expect = "unexpected EOF while parsing (<string>, line 1)"
9390 with self .assertRaises (SyntaxError ) as cm :
9491 compile ('"\\ Xhh" \\ ' , '<string>' , 'exec' )
9592 self .assertEqual (str (cm .exception ), expect )
9693
97- @unittest .expectedFailure # TODO: RUSTPYTHON
9894 def test_line_continuation_EOF (self ):
9995 """A continuation at the end of input must be an error; bpo2180."""
10096 expect = 'unexpected EOF while parsing (<string>, line 1)'
@@ -127,7 +123,6 @@ def test_line_continuation_EOF(self):
127123 exec ('\\ ' )
128124 self .assertEqual (str (cm .exception ), expect )
129125
130- @unittest .expectedFailure # TODO: RUSTPYTHON
131126 @unittest .skipIf (not sys .executable , "sys.executable required" )
132127 @force_not_colorized
133128 def test_line_continuation_EOF_from_file_bpo2180 (self ):
0 commit comments