Show More
@@ -146,7 +146,8 b' class Doc2UnitTester(object):' | |||||
146 | def test(self): |
|
146 | def test(self): | |
147 | # Make a new runner per function to be tested |
|
147 | # Make a new runner per function to be tested | |
148 | runner = DocTestRunner(verbose=d2u.verbose) |
|
148 | runner = DocTestRunner(verbose=d2u.verbose) | |
149 |
|
|
149 | for the_test in d2u.finder.find(func, func.__name__): | |
|
150 | runner.run(the_test) | |||
150 | failed = count_failures(runner) |
|
151 | failed = count_failures(runner) | |
151 | if failed: |
|
152 | if failed: | |
152 | # Since we only looked at a single function's docstring, |
|
153 | # Since we only looked at a single function's docstring, |
General Comments 0
You need to be logged in to leave comments.
Login now