diff --git a/test/stdlib/3.5-exclude.sh b/test/stdlib/3.5-exclude.sh index 18a680a5..06e0b3c2 100644 --- a/test/stdlib/3.5-exclude.sh +++ b/test/stdlib/3.5-exclude.sh @@ -138,8 +138,7 @@ SKIP_TESTS=( # About 260 unit-test in about 16 minutes if (( batch )) ; then - # Fails in crontab environment? - # Figure out what's up here + SKIP_TESTS[test_asyncore.py]=1 # Ok, but takes more than 15 seconds to run SKIP_TESTS[test_bisect.py]=1 SKIP_TESTS[test_buffer.py]=1 # too long SKIP_TESTS[test_compileall.py]=1 # Something weird on POWER diff --git a/uncompyle6/parsers/parse3.py b/uncompyle6/parsers/parse3.py index abba52aa..c9f70dc1 100644 --- a/uncompyle6/parsers/parse3.py +++ b/uncompyle6/parsers/parse3.py @@ -1547,9 +1547,8 @@ class Python3Parser(PythonParser): self.check_reduce["while1elsestmt"] = "noAST" self.check_reduce["ifelsestmt"] = "AST" self.check_reduce["ifstmt"] = "AST" - if self.version >= 3.1: - if self.version != 3.5: - self.check_reduce["iflaststmt"] = "AST" + if self.version == 3.6: + self.check_reduce["iflaststmt"] = "AST" self.check_reduce["iflaststmtl"] = "AST" self.check_reduce["annotate_tuple"] = "noAST" self.check_reduce["except_handler_else"] = "tokens"