Skip to content

Commit 9f6f5b2

Browse files
authored
Update test_ast.py
1 parent ac71310 commit 9f6f5b2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Lib/test/test_ast/test_ast.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3203,11 +3203,10 @@ def invoke_ast(self, *flags):
32033203
return stdout.getvalue().strip()
32043204

32053205
def check_output(self, source, expect, *flags):
3206-
with self.subTest(source=source, flags=flags):
3207-
self.set_source(source)
3208-
res = self.invoke_ast(*flags)
3209-
expect = self.text_normalize(expect)
3210-
self.assertEqual(res, expect)
3206+
self.set_source(source)
3207+
res = self.invoke_ast(*flags)
3208+
expect = self.text_normalize(expect)
3209+
self.assertEqual(res, expect)
32113210

32123211
def test_invocation(self):
32133212
# test various combinations of parameters

0 commit comments

Comments
 (0)