From 5da57027efb830f1bb6dfeecade94faee28b21ae Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Mon, 31 Dec 2012 11:31:41 +0200 Subject: [PATCH] Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380. --- Lib/test/test_pep380.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_pep380.py b/Lib/test/test_pep380.py index 9569e10c9e5..f3eed4353b9 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: