From: Serhiy Storchaka Date: Mon, 31 Dec 2012 09:31:41 +0000 (+0200) Subject: Issue #16824: Fix a failure guard in the never reached in the normal test execution... X-Git-Tag: v3.3.1rc1~453 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5da57027efb830f1bb6dfeecade94faee28b21ae;p=python Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380. --- diff --git a/Lib/test/test_pep380.py b/Lib/test/test_pep380.py index 9569e10c9e..f3eed4353b 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: