Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a85a08c commit 0f7f262Copy full SHA for 0f7f262
1 file changed
IPython/testing/ipunittest.py
@@ -146,7 +146,8 @@ class Tester(unittest.TestCase):
146
def test(self):
147
# Make a new runner per function to be tested
148
runner = DocTestRunner(verbose=d2u.verbose)
149
- map(runner.run, d2u.finder.find(func, func.__name__))
+ for the_test in d2u.finder.find(func, func.__name__):
150
+ runner.run(the_test)
151
failed = count_failures(runner)
152
if failed:
153
# Since we only looked at a single function's docstring,
0 commit comments