Merge branch 'master' of github.com:rocky/python-uncompyle6

This commit is contained in:
rocky
2019-12-15 21:18:44 -05:00
7 changed files with 13 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -1,4 +1,4 @@
# Tests:
n# Tests:
# importstmt ::= LOAD_CONST LOAD_CONST import_as
# import_as ::= IMPORT_NAME store
@@ -15,3 +15,11 @@ class BZ2File(io.BufferedIOBase):
class ABC(metaclass=BZ2File):
pass
# From 3.3 test_abc
# Bug was class Descriptor("Descriptor"): instead of below
def test_customdescriptors_with_abstractmethod():
class Descriptor:
def setter(self):
return Descriptor(self._fget)

View File

@@ -26,7 +26,7 @@ FULLVERSION=$(pyenv local)
PYVERSION=${FULLVERSION%.*}
MINOR=${FULLVERSION##?.?.}
typeset -i STOP_ONERROR=1
STOP_ONERROR=${STOP_ONERROR:-1}
typeset -A SKIP_TESTS
case $PYVERSION in