diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2012-12-31 09:31:41 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2012-12-31 09:31:41 (GMT) |
commit | 5da57027efb830f1bb6dfeecade94faee28b21ae (patch) | |
tree | 1cdb228f59c95615abe9fa379efdbfc9ae5aabd9 | |
parent | 0dc5ab41f07a26deaebe46f593e572e221772aa2 (diff) | |
download | cpython-5da57027efb830f1bb6dfeecade94faee28b21ae.zip cpython-5da57027efb830f1bb6dfeecade94faee28b21ae.tar.gz cpython-5da57027efb830f1bb6dfeecade94faee28b21ae.tar.bz2 |
Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380.
-rw-r--r-- | Lib/test/test_pep380.py | 2 |
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: |