Visitar URL original
Merge pull request #7622 from youknowone/bytecode-parity-string · RustPython/RustPython@4de2268 · GitHub
Skip to content

Commit 4de2268

Browse files
authored
Merge pull request #7622 from youknowone/bytecode-parity-string
2 parents a04189f + 484c218 commit 4de2268

9 files changed

Lines changed: 1020 additions & 258 deletions

File tree

‎Lib/test/test_compile.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2576,15 +2576,13 @@ def test_if_else(self):
25762576
def test_binop(self):
25772577
self.check_stack_size("x + " * self.N + "x")
25782578

2579-
@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: 101 not less than or equal to 6
25802579
def test_list(self):
25812580
self.check_stack_size("[" + "x, " * self.N + "x]")
25822581

25832582
@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: 101 not less than or equal to 6
25842583
def test_tuple(self):
25852584
self.check_stack_size("(" + "x, " * self.N + "x)")
25862585

2587-
@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: 101 not less than or equal to 6
25882586
def test_set(self):
25892587
self.check_stack_size("{" + "x, " * self.N + "x}")
25902588

‎Lib/test/test_peepholer.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ def test_constant_folding_binop(self):
441441
self.check_lnotab(code)
442442

443443

444-
@unittest.expectedFailure # TODO: RUSTPYTHON
445444
def test_constant_folding_remove_nop_location(self):
446445
sources = [
447446
"""

‎Lib/test/test_tstring.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ def test_conversions(self):
111111
with self.assertRaises(SyntaxError):
112112
eval("t'{num!z}'")
113113

114-
@unittest.expectedFailure # TODO: RUSTPYTHON; ? ++++++
115114
def test_debug_specifier(self):
116115
# Test debug specifier
117116
value = 42

‎Lib/test/test_typing.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4697,7 +4697,6 @@ class D(Generic[T]): pass
46974697
with self.assertRaises(TypeError):
46984698
D[()]
46994699

4700-
@unittest.expectedFailure # TODO: RUSTPYTHON
47014700
def test_generic_init_subclass_not_called_error(self):
47024701
notes = ["Note: this exception may have been caused by "
47034702
r"'GenericTests.test_generic_init_subclass_not_called_error.<locals>.Base.__init_subclass__' "

0 commit comments

Comments
 (0)