diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2012-12-31 09:37:34 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2012-12-31 09:37:34 (GMT) |
commit | 528b825cb1db4611c80ea2dff74b47eb71a4d029 (patch) | |
tree | f5a7cc6ec4ac200dd61487e9f20f78df16c3d77d | |
parent | 1dce0003a662c8d1adf664b598b7941ad83bf23b (diff) | |
parent | 5da57027efb830f1bb6dfeecade94faee28b21ae (diff) | |
download | cpython-528b825cb1db4611c80ea2dff74b47eb71a4d029.zip cpython-528b825cb1db4611c80ea2dff74b47eb71a4d029.tar.gz cpython-528b825cb1db4611c80ea2dff74b47eb71a4d029.tar.bz2 |
Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380.
Original patch by Stefan Behnel.
-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: |