GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bytecode parity - exception (#7557) · RustPython/RustPython@a49ce5b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Lib/test
    • test_peepholer.py
  • crates
    • codegen/src
      • compile.rs
      • ir.rs
      • snapshots
        • rustpython_codegen__compile__tests__nested_double_async_with.snap
    • vm/src
      • frame.rs
      • vm
        • mod.rs
  • scripts
    • compare_bytecode.py
    • dis_dump.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Lib/test/test_peepholer.py‎

Copy file name to clipboardExpand all lines: Lib/test/test_peepholer.py
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ def f():
144144
self.assertInBytecode(f, elem)
145145
self.check_lnotab(f)
146146

147-
@unittest.expectedFailure # TODO: RUSTPYTHON
148147
def test_pack_unpack(self):
149148
for line, elem in (
150149
('a, = a,', 'LOAD_CONST',),
@@ -158,7 +157,7 @@ def test_pack_unpack(self):
158157
self.assertNotInBytecode(code, 'UNPACK_SEQUENCE')
159158
self.check_lnotab(code)
160159

161-
@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: 1 != 2
160+
@unittest.expectedFailure # TODO: RUSTPYTHON; LOAD_CONST count mismatch in long-tuple branch
162161
def test_constant_folding_tuples_of_constants(self):
163162
for line, elem in (
164163
('a = 1,2,3', (1, 2, 3)),
@@ -873,7 +872,6 @@ def f():
873872
self.assertInBytecode(f, 'LOAD_FAST_CHECK')
874873
self.assertNotInBytecode(f, 'LOAD_FAST')
875874

876-
@unittest.expectedFailure # TODO: RUSTPYTHON; RETURN_VALUE
877875
def test_load_fast_unknown_because_del(self):
878876
def f():
879877
x = 1
@@ -928,7 +926,6 @@ def f():
928926
self.assertInBytecode(f, 'LOAD_FAST_BORROW')
929927
self.assertNotInBytecode(f, 'LOAD_FAST_CHECK')
930928

931-
@unittest.expectedFailure # TODO: RUSTPYTHON; L5 to L6 -> L6 [1] lasti
932929
def test_load_fast_unknown_after_error(self):
933930
def f():
934931
try:
@@ -940,7 +937,6 @@ def f():
940937
# Assert that it doesn't occur in the LOAD_FAST_CHECK branch.
941938
self.assertInBytecode(f, 'LOAD_FAST_CHECK')
942939

943-
@unittest.expectedFailure # TODO: RUSTPYTHON; L5 to L6 -> L6 [1] lasti
944940
def test_load_fast_unknown_after_error_2(self):
945941
def f():
946942
try:

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.