summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asdl_parser.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2019-01-31 11:40:27 (GMT)
committerƁukasz Langa <lukasz@langa.pl>2019-01-31 11:40:27 (GMT)
commitdcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53c (patch)
tree07829c4f286194d0e3d08151a26ef1f3494a849b /Lib/test/test_asdl_parser.py
parentd97daebfa69b4df95231bcae4123eacad6a48d14 (diff)
downloadcpython-dcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53c.zip
cpython-dcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53c.tar.gz
cpython-dcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53c.tar.bz2
bpo-35766: Merge typed_ast back into CPython (GH-11645)
Diffstat (limited to 'Lib/test/test_asdl_parser.py')
-rw-r--r--Lib/test/test_asdl_parser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_asdl_parser.py b/Lib/test/test_asdl_parser.py
index 30e6466..9eaceec 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__':