limit 3.x scope of ifelstmt reduction check to 3.6

at least for now. Again, we need major cleanup of this stuff, but that
will be done later.
This commit is contained in:
rocky
2020-01-31 16:22:32 -05:00
parent 7c012ebdfc
commit 258fac3201
2 changed files with 3 additions and 5 deletions

View File

@@ -138,8 +138,7 @@ SKIP_TESTS=(
# About 260 unit-test in about 16 minutes # About 260 unit-test in about 16 minutes
if (( batch )) ; then if (( batch )) ; then
# Fails in crontab environment? SKIP_TESTS[test_asyncore.py]=1 # Ok, but takes more than 15 seconds to run
# Figure out what's up here
SKIP_TESTS[test_bisect.py]=1 SKIP_TESTS[test_bisect.py]=1
SKIP_TESTS[test_buffer.py]=1 # too long SKIP_TESTS[test_buffer.py]=1 # too long
SKIP_TESTS[test_compileall.py]=1 # Something weird on POWER SKIP_TESTS[test_compileall.py]=1 # Something weird on POWER

View File

@@ -1547,9 +1547,8 @@ class Python3Parser(PythonParser):
self.check_reduce["while1elsestmt"] = "noAST" self.check_reduce["while1elsestmt"] = "noAST"
self.check_reduce["ifelsestmt"] = "AST" self.check_reduce["ifelsestmt"] = "AST"
self.check_reduce["ifstmt"] = "AST" self.check_reduce["ifstmt"] = "AST"
if self.version >= 3.1: if self.version == 3.6:
if self.version != 3.5: self.check_reduce["iflaststmt"] = "AST"
self.check_reduce["iflaststmt"] = "AST"
self.check_reduce["iflaststmtl"] = "AST" self.check_reduce["iflaststmtl"] = "AST"
self.check_reduce["annotate_tuple"] = "noAST" self.check_reduce["annotate_tuple"] = "noAST"
self.check_reduce["except_handler_else"] = "tokens" self.check_reduce["except_handler_else"] = "tokens"