You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Added tests for issue #439, global/const issues
This commit is contained in:
Binary file not shown.
@@ -725,3 +725,10 @@ values = {
|
||||
}
|
||||
|
||||
assert sorted(values.values())[1:] == list(range(2, 34))
|
||||
|
||||
|
||||
# Check that we can distinguish names from strings in literal collections, e.g. lists.
|
||||
# The list has to have more than 4 items go get accumulated in a collection
|
||||
a = ["y", 'Exception', "x", Exception, "z"]
|
||||
assert a[1] == "Exception"
|
||||
assert a[3] == Exception
|
||||
|
Reference in New Issue
Block a user