Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Lib/test/test_flufl.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

class FLUFLTests(unittest.TestCase):

@unittest.expectedFailure # TODO: RUSTPYTHON
def test_barry_as_bdfl(self):
code = "from __future__ import barry_as_FLUFL\n2 {0} 3"
compile(code.format('<>'), '<BDFL test>', 'exec',
Expand Down Expand Up @@ -35,7 +34,6 @@ def test_guido_as_bdfl(self):
# parser reports the start of the token
self.assertEqual(cm.exception.offset, 3)

@unittest.expectedFailure # TODO: RUSTPYTHON
def test_barry_as_bdfl_look_ma_with_no_compiler_flags(self):
# Check that the future import is handled by the parser
# even if the compiler flags are not passed.
Expand Down
2 changes: 0 additions & 2 deletions Lib/test/test_future_stmt/test_future.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ def test_future_import_not_on_top(self):
"""
self.assertSyntaxError(code, lineno=3)

@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: SyntaxError not raised
def test_future_import_with_extra_string(self):
code = """
'''Docstring'''
Expand Down Expand Up @@ -260,7 +259,6 @@ def _exec_future(self, code):
)
return scope

@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: "t'{a + b}'" != "t'{a + b}'"
def test_annotations(self):
eq = self.assertAnnotationEqual
eq('...')
Expand Down
1 change: 0 additions & 1 deletion Lib/test/test_pyrepl/test_interact.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ def g(x: int): ...
self.assertFalse(result)
self.assertEqual(f.getvalue(), "{'x': 'int'}\n")

@unittest.expectedFailure # TODO: RUSTPYTHON
def test_future_barry_as_flufl(self):
console = InteractiveColoredConsole()
f = io.StringIO()
Expand Down
1 change: 0 additions & 1 deletion Lib/test/test_super.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def nested():

self.assertEqual(E().f(), 'AE')

@unittest.expectedFailure # TODO: RUSTPYTHON
def test_various___class___pathologies(self):
# See issue #12370
class X(A):
Expand Down
5 changes: 0 additions & 5 deletions Lib/test/test_symtable.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ def test_symbol_lookup(self):

self.assertRaises(KeyError, self.top.lookup, "not_here")

@unittest.expectedFailure # TODO: RUSTPYTHON
def test_namespaces(self):
self.assertTrue(self.top.lookup("Mine").is_namespace())
self.assertTrue(self.Mine.lookup("a_method").is_namespace())
Expand Down Expand Up @@ -360,7 +359,6 @@ def test_name(self):
self.assertEqual(self.spam.lookup("x").get_name(), "x")
self.assertEqual(self.Mine.get_name(), "Mine")

@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: Tuples differ: () != ('a_method',)
def test_class_get_methods(self):
deprecation_mess = (
re.escape('symtable.Class.get_methods() is deprecated '
Expand Down Expand Up @@ -442,7 +440,6 @@ def check_body(body, expected_methods):
check_body('\n'.join((gen, func)), ('genexpr',))
check_body('\n'.join((func, gen)), ('genexpr',))

@unittest.expectedFailure # TODO: RUSTPYTHON; SyntaxError: name 'x' is parameter and global
def test_filename_correct(self):
### Bug tickler: SyntaxError file name correct whether error raised
### while parsing or building symbol table.
Expand Down Expand Up @@ -474,7 +471,6 @@ def test_single(self):
def test_exec(self):
symbols = symtable.symtable("def f(x): return x", "?", "exec")

@unittest.expectedFailure # TODO: RUSTPYTHON; TypeError: Expected type 'str' but 'bytes' found.
def test_bytes(self):
top = symtable.symtable(TEST_CODE.encode('utf8'), "?", "exec")
self.assertIsNotNone(find_block(top, "Mine"))
Expand Down Expand Up @@ -563,7 +559,6 @@ def test_loopvar_in_only_one_scope(self):
class CommandLineTest(unittest.TestCase):
maxDiff = None

@unittest.expectedFailure # TODO: RUSTPYTHON; TypeError: Expected type 'str' but 'bytes' found.
def test_file(self):
filename = os_helper.TESTFN
self.addCleanup(os_helper.unlink, filename)
Expand Down
Loading
Loading