From: Guido van Rossum Date: Tue, 22 Jan 2019 18:55:48 +0000 (-0800) Subject: Fix test_asdl_parser.py X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36c212bd153f044700c4fe0ff2e2312c4f364d58;p=thirdparty%2FPython%2Fcpython.git Fix test_asdl_parser.py --- diff --git a/Lib/test/test_asdl_parser.py b/Lib/test/test_asdl_parser.py index 30e6466dbb32..9eaceecd50db 100644 --- a/Lib/test/test_asdl_parser.py +++ b/Lib/test/test_asdl_parser.py @@ -117,7 +117,8 @@ class TestAsdlParser(unittest.TestCase): v = CustomVisitor() v.visit(self.types['mod']) - self.assertEqual(v.names_with_seq, ['Module', 'Interactive', 'Suite']) + self.assertEqual(v.names_with_seq, + ['Module', 'Module', 'Interactive', 'FunctionType', 'Suite']) if __name__ == '__main__':