Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a67a3d7

Browse files
noviluniCarreau
authored andcommitted
fix argument in format string
1 parent 8d5912e commit a67a3d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

IPython/testing/ipunittest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def test(self):
155155
# failed should contain at most one item. More than that
156156
# is a case we can't handle and should error out on
157157
if len(failed) > 1:
158-
err = "Invalid number of test results:" % failed
158+
err = "Invalid number of test results: %s" % failed
159159
raise ValueError(err)
160160
# Report a normal failure.
161161
self.fail('failed doctests: %s' % str(failed[0]))

0 commit comments

Comments
 (0)