Skip to content

Commit 7f19b1c

Browse files
committed
tests: Fix expected output of verbose cmdline test
The output might contain more than one line ending in 5b so properly skip everything until the next known point. This fixes test failures in appveyor debug builds.
1 parent b89ac9d commit 7f19b1c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tests/cmdline/cmd_showbc.py.exp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ arg names:
2727
File cmdline/cmd_showbc.py, code block 'f' (descriptor: \.\+, bytecode @\.\+ bytes)
2828
Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
2929
########
30-
\.\+5b
31-
arg names:
30+
\.\+rg names:
3231
(N_STATE 22)
3332
(N_EXC_STACK 2)
3433
(INIT_CELL 14)

tests/run-tests

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ def run_tests(pyb, tests, args):
267267
# Some tests use unsupported features on Windows
268268
if os.name == 'nt':
269269
skip_tests.add('import/import_file.py') # works but CPython prints forward slashes
270-
skip_tests.add('cmdline/cmd_showbc.py') # fails on AppVeyor x86 builds
271270

272271
# Some tests are known to fail with native emitter
273272
# Remove them from the below when they work

0 commit comments

Comments
 (0)