##// END OF EJS Templates
Actually run some tests....
Matthias Bussonnier -
Show More
@@ -146,7 +146,8 b' class Doc2UnitTester(object):'
146 146 def test(self):
147 147 # Make a new runner per function to be tested
148 148 runner = DocTestRunner(verbose=d2u.verbose)
149 map(runner.run, d2u.finder.find(func, func.__name__))
149 for the_test in d2u.finder.find(func, func.__name__):
150 runner.run(the_test)
150 151 failed = count_failures(runner)
151 152 if failed:
152 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