summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py
index 8955bf8..9e99475 100644
--- a/Lib/test/test_parser.py
+++ b/Lib/test/test_parser.py
@@ -13,7 +13,7 @@ class RoundtripLegalSyntaxTestCase(unittest.TestCase):
st1 = f(s)
t = st1.totuple()
try:
- st2 = parser.sequence2ast(t)
+ st2 = parser.sequence2st(t)
except parser.ParserError:
self.fail("could not roundtrip %r" % s)
@@ -140,7 +140,7 @@ class RoundtripLegalSyntaxTestCase(unittest.TestCase):
class IllegalSyntaxTestCase(unittest.TestCase):
def check_bad_tree(self, tree, label):
try:
- parser.sequence2ast(tree)
+ parser.sequence2st(tree)
except parser.ParserError:
pass
else: