Show More
@@ -155,7 +155,7 b' class Doc2UnitTester(object):' | |||||
155 | # failed should contain at most one item. More than that |
|
155 | # failed should contain at most one item. More than that | |
156 | # is a case we can't handle and should error out on |
|
156 | # is a case we can't handle and should error out on | |
157 | if len(failed) > 1: |
|
157 | if len(failed) > 1: | |
158 | err = "Invalid number of test results:" % failed |
|
158 | err = "Invalid number of test results: %s" % failed | |
159 | raise ValueError(err) |
|
159 | raise ValueError(err) | |
160 | # Report a normal failure. |
|
160 | # Report a normal failure. | |
161 | self.fail('failed doctests: %s' % str(failed[0])) |
|
161 | self.fail('failed doctests: %s' % str(failed[0])) |
General Comments 0
You need to be logged in to leave comments.
Login now