File tree 3 files changed +1
-9
lines changed
3 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -329,8 +329,6 @@ def test_non_interned_future_from_ast(self):
329
329
mod .body [0 ].module = " __future__ " .strip ()
330
330
compile (mod , "<test>" , "exec" )
331
331
332
- # TODO: RUSTPYTHON
333
- @unittest .expectedFailure
334
332
def test_base_classes (self ):
335
333
self .assertTrue (issubclass (ast .For , ast .stmt ))
336
334
self .assertTrue (issubclass (ast .Name , ast .expr ))
@@ -1581,8 +1579,6 @@ def test_literal_eval(self):
1581
1579
1582
1580
self .assertEqual (ast .literal_eval (binop ), 10 + 20j )
1583
1581
1584
- # TODO: RUSTPYTHON
1585
- @unittest .expectedFailure
1586
1582
def test_string_kind (self ):
1587
1583
c = ast .parse ('"x"' , mode = 'eval' ).body
1588
1584
self .assertEqual (c .value , "x" )
@@ -2011,7 +2007,7 @@ def visit_Ellipsis(self, node):
2011
2007
visitor = Visitor ()
2012
2008
log = []
2013
2009
with warnings .catch_warnings (record = True ) as wlog :
2014
- warnings .filterwarnings ('always' , '' , PendingDeprecationWarning )
2010
+ warnings .filterwarnings ('always' , '' , DeprecationWarning )
2015
2011
visitor .visit (mod )
2016
2012
self .assertEqual (log , [
2017
2013
(1 , 'Num' , 42 ),
Original file line number Diff line number Diff line change @@ -1463,8 +1463,6 @@ def test_unary_ops(self):
1463
1463
x = ~ 1 ^ 1 & 1 | 1 & 1 ^ - 1
1464
1464
x = - 1 * 1 / 1 + 1 * 1 - - - - 1 * 1
1465
1465
1466
- # TODO: RUSTPYTHON
1467
- @unittest .expectedFailure
1468
1466
def test_selectors (self ):
1469
1467
### trailer: '(' [testlist] ')' | '[' subscript ']' | '.' NAME
1470
1468
### subscript: expr | [expr] ':' [expr]
Original file line number Diff line number Diff line change @@ -204,8 +204,6 @@ def test_issue5604(self):
204
204
support .rmtree (test_package_name )
205
205
support .rmtree ('__pycache__' )
206
206
207
- # TODO: RUSTPYTHON
208
- @unittest .expectedFailure
209
207
def test_issue9319 (self ):
210
208
path = os .path .dirname (__file__ )
211
209
self .assertRaises (SyntaxError ,
You can’t perform that action at this time.
0 commit comments