Skip to content

Commit 4087fa1

Browse files
committed
Unmark passing tests
1 parent 0093a19 commit 4087fa1

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

Lib/test/test_ast.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,6 @@ def test_non_interned_future_from_ast(self):
329329
mod.body[0].module = " __future__ ".strip()
330330
compile(mod, "<test>", "exec")
331331

332-
# TODO: RUSTPYTHON
333-
@unittest.expectedFailure
334332
def test_base_classes(self):
335333
self.assertTrue(issubclass(ast.For, ast.stmt))
336334
self.assertTrue(issubclass(ast.Name, ast.expr))
@@ -1581,8 +1579,6 @@ def test_literal_eval(self):
15811579

15821580
self.assertEqual(ast.literal_eval(binop), 10+20j)
15831581

1584-
# TODO: RUSTPYTHON
1585-
@unittest.expectedFailure
15861582
def test_string_kind(self):
15871583
c = ast.parse('"x"', mode='eval').body
15881584
self.assertEqual(c.value, "x")
@@ -2011,7 +2007,7 @@ def visit_Ellipsis(self, node):
20112007
visitor = Visitor()
20122008
log = []
20132009
with warnings.catch_warnings(record=True) as wlog:
2014-
warnings.filterwarnings('always', '', PendingDeprecationWarning)
2010+
warnings.filterwarnings('always', '', DeprecationWarning)
20152011
visitor.visit(mod)
20162012
self.assertEqual(log, [
20172013
(1, 'Num', 42),

Lib/test/test_grammar.py

-2
Original file line numberDiff line numberDiff line change
@@ -1463,8 +1463,6 @@ def test_unary_ops(self):
14631463
x = ~1 ^ 1 & 1 | 1 & 1 ^ -1
14641464
x = -1*1/1 + 1*1 - ---1*1
14651465

1466-
# TODO: RUSTPYTHON
1467-
@unittest.expectedFailure
14681466
def test_selectors(self):
14691467
### trailer: '(' [testlist] ')' | '[' subscript ']' | '.' NAME
14701468
### subscript: expr | [expr] ':' [expr]

Lib/test/test_imp.py

-2
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,6 @@ def test_issue5604(self):
204204
support.rmtree(test_package_name)
205205
support.rmtree('__pycache__')
206206

207-
# TODO: RUSTPYTHON
208-
@unittest.expectedFailure
209207
def test_issue9319(self):
210208
path = os.path.dirname(__file__)
211209
self.assertRaises(SyntaxError,

0 commit comments

Comments
 (0)