Skip to content

Commit 5da5702

Browse files
Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380.
1 parent 0dc5ab4 commit 5da5702

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_pep380.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def g():
519519
next(gi)
520520
for x in range(3):
521521
y = gi.send(42)
522-
trace.append("Should not have yielded:", y)
522+
trace.append("Should not have yielded: %s" % (y,))
523523
except AttributeError as e:
524524
self.assertIn("send", e.args[0])
525525
else:

0 commit comments

Comments
 (0)