diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2012-12-31 11:31:41 +0200 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2012-12-31 11:31:41 +0200 |
| commit | 5da57027efb830f1bb6dfeecade94faee28b21ae (patch) | |
| tree | 1cdb228f59c95615abe9fa379efdbfc9ae5aabd9 /Lib/test/test_pep380.py | |
| parent | 0dc5ab41f07a26deaebe46f593e572e221772aa2 (diff) | |
| download | cpython-git-5da57027efb830f1bb6dfeecade94faee28b21ae.tar.gz | |
Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380.
Diffstat (limited to 'Lib/test/test_pep380.py')
| -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 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: |
