Thanks. I've copied test/test_support.py form Lib into 2.7 alpha directory and it seems to work. Although it doesn't seem good to me to mix test support library with tests themselves. -- anatoly t.
On Thu, Apr 1, 2010 at 2:18 PM, Michael Foord <fuzzy...@voidspace.org.uk> wrote: > 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\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) >> >> > > 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. > > > _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com