diff options
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_ast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py index 0484513..b42caa3 100644 --- a/Lib/test/test_ast.py +++ b/Lib/test/test_ast.py @@ -128,7 +128,7 @@ if __name__=='__main__' and sys.argv[1:] == ['-g']: raise SystemExit def test_order(ast_node, parent_pos): - + if not isinstance(ast_node, _ast.AST) or ast_node._fields == None: return if isinstance(ast_node, (_ast.expr, _ast.stmt)): |