[issue19535] Test failures with -OO

2013-12-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -Python 2.7 ___ Python tracker ___

[issue19535] Test failures with -OO

2013-12-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 910b1cb5176c by Serhiy Storchaka in branch '3.3': Issue #19535: Fixed test_docxmlrpc when python is run with -OO. http://hg.python.org/cpython/rev/910b1cb5176c New changeset e71142abf8b6 by Serhiy Storchaka in branch 'default': Issue #19535: Fixed t

[issue19535] Test failures with -OO

2013-11-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ah, test_contextlib shouldn't be fixed. It failed due to cached non-optimized test.support. -- ___ Python tracker ___ ___

[issue19535] Test failures with -OO

2013-11-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch fixes test_contextlib and test_statistics too. I think test_asyncio is worth separated issue too. -- Added file: http://bugs.python.org/file32657/issue19535_3.patch ___ Python tracker

[issue19535] Test failures with -OO

2013-11-16 Thread Ezio Melotti
Ezio Melotti added the comment: I created #19626 for the test_email failures. -- dependencies: +test_email and Lib/email/_policybase.py failures with -OO ___ Python tracker ___ _

[issue19535] Test failures with -OO

2013-11-16 Thread Ezio Melotti
Ezio Melotti added the comment: Patch LGTM. I'm getting 4 additional failures on 3.4: test_asyncio test_contextlib test_email test_statistics * test_statistics is fixed by the attached patch. * test_email fails in Lib/email/_policybase.py:95 -- this probably deservers a separate issue. * test_

[issue19535] Test failures with -OO

2013-11-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Actually test_inspect is affected by -O. Here is updated patch. -- Added file: http://bugs.python.org/file32651/issue19535_2.patch ___ Python tracker

[issue19535] Test failures with -OO

2013-11-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch. -- assignee: -> serhiy.storchaka keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file32648/issue19535.patch ___ Python tracker _

[issue19535] Test failures with -OO

2013-11-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume a test could detect docstring stripping with def f(): 'docstring' if f.__doc__ is None: This would cover the test_functools case, but I don't know about the others. -- nosy: +terry.reedy ___ Python tracke

[issue19535] Test failures with -OO

2013-11-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Failure of test_pkg is sporadic. $ ./python -OO -m test.regrtest test_pkg [1/1] test_pkg test test_pkg failed -- Traceback (most recent call last): File "/home/serhiy/py/cpython/Lib/test/test_pkg.py", line 259, in test_7 '__name__', '__package__', '__pat

[issue19535] Test failures with -OO

2013-11-09 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: $ ./python -OO -m test.regrtest test_docxmlrpc test_functools test_inspect test_pkg [1/4] test_docxmlrpc test test_docxmlrpc failed -- Traceback (most recent call last): File "/home/serhiy/py/cpython/Lib/test/test_docxmlrpc.py", line 210, in test_annotati