commit | 5da57027efb830f1bb6dfeecade94faee28b21ae | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Mon Dec 31 11:31:41 2012 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Mon Dec 31 11:31:41 2012 +0200 |
tree | 1cdb228f59c95615abe9fa379efdbfc9ae5aabd9 | |
parent | 0dc5ab41f07a26deaebe46f593e572e221772aa2 [diff] |
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 9569e10..f3eed43 100644 --- a/Lib/test/test_pep380.py +++ b/Lib/test/test_pep380.py
@@ -519,7 +519,7 @@ 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: