You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Fix 3.8 pytests
This commit is contained in:
@@ -936,8 +936,11 @@ def customize_for_version3(self, version):
|
||||
########################
|
||||
# Python 3.8+ changes
|
||||
#######################
|
||||
for lhs in 'for forelsestmt forelselaststmt forelselaststmtl'.split():
|
||||
del TABLE_DIRECT[lhs]
|
||||
|
||||
# FIXME: pytest doesn't add proper keys in testing. Reinstate after we have fixed pytest.
|
||||
# for lhs in 'for forelsestmt forelselaststmt forelselaststmtl'.split():
|
||||
# del TABLE_DIRECT[lhs]
|
||||
|
||||
TABLE_DIRECT.update({
|
||||
'for38': (
|
||||
'%|for %c in %c:\n%+%c%-\n\n',
|
||||
|
Reference in New Issue
Block a user