Commit 5da57027 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #16824: Fix a failure guard in the never reached in the normal test...

Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380.
parent 0dc5ab41
......@@ -519,7 +519,7 @@ class TestPEP380Operation(unittest.TestCase):
next(gi)
for x in range(3):
y = gi.send(42)
trace.append("Should not have yielded:", y)
trace.append("Should not have yielded: %s" % (y,))
except AttributeError as e:
self.assertIn("send", e.args[0])
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment