Commits

Serhiy Storchaka committed 9472928 Draft

Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380.

  • Participants
  • Parent commits 4fc2fea
  • Branches 3.3

Comments (0)

Files changed (1)

Lib/test/test_pep380.py

             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: