Skip to content

Commit 2215c14

Browse files
committed
fix test with more obviously incorrect bytecode
1 parent 56894b5 commit 2215c14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/importlib/test/source/test_abc_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ def test_no_bytecode(self):
506506
def test_bad_bytecode(self):
507507
# Malformed code object bytecode should lead to a ValueError.
508508
name = 'mod'
509-
bc = {name: {'path': os.path.join('path', 'to', 'mod'), 'bc': b'NNN'}}
509+
bc = {name: {'path': os.path.join('path', 'to', 'mod'), 'bc': b'1234'}}
510510
mock = PyPycLoaderMock({name: None}, bc)
511511
with util.uncache(name), self.assertRaises(ValueError):
512512
mock.load_module(name)

0 commit comments

Comments
 (0)