commit | 2c55c597faf023a0b74aa48f911493c010f464c5 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Mar 30 19:00:49 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Mar 30 19:00:49 2008 +0000 |
tree | 8f305d3e6c0249eaac509b797ce8956357c9127a | |
parent | ebc8dedd1996db68c889c2cdf2701fd7eadc501f [diff] [blame] |
Make _fields attr for no fields consistent with _attributes attr.
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py index 4184bc6..e068b0a 100644 --- a/Lib/test/test_ast.py +++ b/Lib/test/test_ast.py
@@ -163,6 +163,9 @@ self.assertEquals(x.right, 3) self.assertEquals(x.lineno, 0) + # this used to fail because Sub._fields was None + x = _ast.Sub() + def test_main(): test_support.run_unittest(AST_Tests)