You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Add another 3.8 test
This commit is contained in:
7
test/simple_source/bug38/01_extra_iter.py
Normal file
7
test/simple_source/bug38/01_extra_iter.py
Normal file
@@ -0,0 +1,7 @@
|
||||
# Adapted from From 3.3 urllib/parse.py
|
||||
qs = "https://travis-ci.org/rocky/python-uncompyle6/builds/605260823?utm_medium=notification&utm_source=email"
|
||||
expect = ['https://travis-ci.org/rocky/python-uncompyle6/builds/605260823?utm_medium=notification', 'utm_source=email']
|
||||
|
||||
# Should visually see that we don't add an extra iter() which is not technically wrong, just
|
||||
# unnecessary.
|
||||
assert expect == [s2 for s1 in qs.split('&') for s2 in s1.split(';')]
|
Reference in New Issue
Block a user