Skip to content

Commit 8b6895d

Browse files
mikeysklarclaude
andcommitted
tests: drop the bytes() wrapper around the .mpy literal
ruff format wants it on one line anyway. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 30741fa commit 8b6895d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎tests/micropython/import_mpy_native_arch.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@
3434

3535
# a bytecode-only .mpy of an empty module, as written by mpy-cross; it loads
3636
# on any architecture, so only the file name decides which one is imported
37-
empty_mpy = bytes(
38-
b"\x43\x06\x00\x1f\x02\x00\x10empty.py\x00\x0f\x28\x00\x02\x01\x51\x63"
39-
)
37+
empty_mpy = b"\x43\x06\x00\x1f\x02\x00\x10empty.py\x00\x0f\x28\x00\x02\x01\x51\x63"
4038

4139
files = {
4240
"foo." + arch + ".mpy": empty_mpy,

0 commit comments

Comments
 (0)