@@ -83,8 +83,6 @@ def __call__(self):
8383# Make sure x was called.
8484self .assertTrue (x .called )
8585
86- # TODO: RUSTPYTHON - binop lineno
87- @unittest .expectedFailure
8886def test_ast_line_numbers (self ):
8987expr = """
9088a = 10
@@ -116,8 +114,6 @@ def test_ast_line_numbers(self):
116114self .assertEqual (binop .left .col_offset ,3 )
117115self .assertEqual (binop .right .col_offset ,7 )
118116
119- # TODO: RUSTPYTHON binops lineno and col_offset
120- @unittest .expectedFailure
121117def test_ast_line_numbers_multiple_formattedvalues (self ):
122118expr = """
123119f'no formatted values'
@@ -170,8 +166,6 @@ def test_ast_line_numbers_multiple_formattedvalues(self):
170166self .assertEqual (binop2 .left .col_offset ,23 )
171167self .assertEqual (binop2 .right .col_offset ,27 )
172168
173- # TODO: RUSTPYTHON binops lineno and col_offset
174- @unittest .expectedFailure
175169def test_ast_line_numbers_nested (self ):
176170expr = """
177171a = 10
@@ -217,8 +211,6 @@ def test_ast_line_numbers_nested(self):
217211self .assertEqual (call .lineno ,3 )
218212self .assertEqual (call .col_offset ,11 )
219213
220- # TODO: RUSTPYTHON binops lineno and col_offset
221- @unittest .expectedFailure
222214def test_ast_line_numbers_duplicate_expression (self ):
223215expr = """
224216a = 10
@@ -285,8 +277,6 @@ def test_ast_line_numbers_duplicate_expression(self):
285277self .assertEqual (binop .left .col_offset ,23 )
286278self .assertEqual (binop .right .col_offset ,27 )
287279
288- # TODO: RUSTPYTHON err col_offset and missing end_* attributes
289- @unittest .expectedFailure
290280def test_ast_numbers_fstring_with_formatting (self ):
291281
292282t = ast .parse ('f"Here is that pesky {xxx:.3f} again"' )
@@ -310,8 +300,6 @@ def test_ast_numbers_fstring_with_formatting(self):
310300self .assertEqual (name .col_offset ,22 )
311301self .assertEqual (name .end_col_offset ,25 )
312302
313- # TODO: RUSTPYTHON col_offset and binop lineno and col_offset
314- @unittest .expectedFailure
315303def test_ast_line_numbers_multiline_fstring (self ):
316304# See bpo-30465 for details.
317305expr = """
@@ -391,8 +379,6 @@ def test_ast_line_numbers_multiline_fstring(self):
391379self .assertEqual (t .body [0 ].value .values [1 ].value .col_offset ,11 )
392380self .assertEqual (t .body [0 ].value .values [1 ].value .end_col_offset ,16 )
393381
394- # TODO: RUSTPYTHON lineno, col_offset, end*
395- @unittest .expectedFailure
396382def test_ast_line_numbers_with_parentheses (self ):
397383expr = """
398384x = (
@@ -470,8 +456,6 @@ def test_ast_compile_time_concat(self):
470456exec (c )
471457self .assertEqual (x [0 ],'foo3' )
472458
473- # TODO: RUSTPYTHON
474- @unittest .expectedFailure
475459def test_compile_time_concat_errors (self ):
476460self .assertAllRaise (SyntaxError ,
477461'cannot mix bytes and nonbytes literals' ,
@@ -1083,8 +1067,6 @@ def test_del(self):
10831067"del '' f''" ,
10841068 ])
10851069
1086- # TODO: RUSTPYTHON
1087- @unittest .expectedFailure
10881070def test_mismatched_braces (self ):
10891071self .assertAllRaise (SyntaxError ,"f-string: single '}' is not allowed" ,
10901072 ["f'{{}'" ,