[Python-Dev] trunk doctests fail to execute with 2.7 alpha (original) (raw)
Michael Foord fuzzyman at voidspace.org.uk
Thu Apr 1 13🔞08 CEST 2010
- Previous message: [Python-Dev] trunk doctests fail to execute with 2.7 alpha
- Next message: [Python-Dev] trunk doctests fail to execute with 2.7 alpha
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 01/04/2010 10:05, anatoly techtonik wrote:
I can not compile Python itself,
Building Python on Windows can be done with free tools, so it should be possible for you to build Python.
See the instructions here:
http://python.org/dev/faq/#id8
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\testdoctest.py doctest (doctest) ... 66 tests with zero failures Traceback (most recent call last): File "test\testdoctest.py", line 2492, in testmain() File "test\testdoctest.py", line 2474, in testmain with testsupport.checkwarnings(*deprecations): File "C:~env\Python27\lib\contextlib.py", line 84, in helper return GeneratorContextManager(func(*args, **kwds)) TypeError: checkwarnings() takes no arguments (1 given)
When I run this test with a freshly built Python I get the following:
:\compile\python-trunk\PCbuild
python_d.exe ..\Lib\test\test_doctest.py doctest (doctest) ... 66 tests with zero failures doctest (test.test_doctest) ... 428 tests with zero failures [42795 refs]
All the best,
Michael Foord
-- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog
READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.
- Previous message: [Python-Dev] trunk doctests fail to execute with 2.7 alpha
- Next message: [Python-Dev] trunk doctests fail to execute with 2.7 alpha
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]