summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_pep380.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pep380.py b/Lib/test/test_pep380.py
index 9569e10..f3eed43 100644
--- a/Lib/test/test_pep380.py
+++ b/Lib/test/test_pep380.py
@@ -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: