[docs] [issue18518] return-ing within code timed with timeit.timeit causes wrong return value of timeit.timeit

STINNER Victor report at bugs.python.org
Mon Jan 26 11:54:57 CET 2015

STINNER Victor added the comment:

Buildbots are unhappy. Example:


1 test failed:

Re-running test 'test_timeit' in verbose mode
test test_timeit crashed -- <type 'exceptions.ImportError'>: No module named support
Traceback (most recent call last):
  File "./Lib/test/regrtest.py", line 901, in runtest_inner
  File "/usr/home/buildbot/python/2.7.koobs-freebsd10/build/Lib/test/test_timeit.py", line 8, in <module>
    from test.support import run_unittest
ImportError: No module named support
[44296 refs]
*** Error code 1

nosy: +haypo

Python tracker <report at bugs.python.org>

More information about the docs mailing list