You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
dissasemble_file output is needed for pytest
This commit is contained in:
@@ -65,6 +65,8 @@ def disco(version, co, out=None):
|
|||||||
scanner = get_scanner(version)
|
scanner = get_scanner(version)
|
||||||
tokens, customize = scanner.disassemble(co)
|
tokens, customize = scanner.disassemble(co)
|
||||||
|
|
||||||
|
for t in tokens:
|
||||||
|
print(t, file=real_out)
|
||||||
print(file=out)
|
print(file=out)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user