[Python-Dev] trunk doctests fail to execute with 2.7 alpha

anatoly techtonik techtonik at gmail.com
Thu Apr 1 11:05:44 CEST 2010


I can not compile Python itself, so I use Alpha version to run tests
in trunk. Recent update broke successfully running tests. Any hints
why this happened and how to fix them back?

> C:\~env\Python27\python.exe test\test_doctest.py

doctest (doctest) ... 66 tests with zero failures
Traceback (most recent call last):
  File "test\test_doctest.py", line 2492, in <module>
    test_main()
  File "test\test_doctest.py", line 2474, in test_main
    with test_support.check_warnings(*deprecations):
  File "C:\~env\Python27\lib\contextlib.py", line 84, in helper
    return GeneratorContextManager(func(*args, **kwds))
TypeError: check_warnings() takes no arguments (1 given)

-- 
anatoly t.


More information about the Python-Dev mailing list