[issue23375] test_py3kwarn fails on Windows

2015-09-03 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue23375] test_py3kwarn fails on Windows

2015-09-03 Thread STINNER Victor
STINNER Victor added the comment: > The approach LGTM. I left comments on Rietveld. Thanks for the review. I replaced warnings.warn() with a simple print(). This issue should now be fixed. -- resolution: -> fixed status: open -> closed ___ Python t

[issue23375] test_py3kwarn fails on Windows

2015-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset d739bc20d7b2 by Victor Stinner in branch '2.7': Issue #23375: Fix test_py3kwarn for modules implemented in C https://hg.python.org/cpython/rev/d739bc20d7b2 -- nosy: +python-dev ___ Python tracker

[issue23375] test_py3kwarn fails on Windows

2015-09-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The approach LGTM. I left comments on Rietveld. -- stage: -> patch review ___ Python tracker ___

[issue23375] test_py3kwarn fails on Windows

2015-09-03 Thread STINNER Victor
STINNER Victor added the comment: To easily test my patch, you can inject a Python 3 DeprecationWarning in the unicodedata module using attached unicodedata.patch, and then modify Lib/test/test_py3kwarn.py to add "unicodedata" to the "optional_modules" list. I tested my patch on Linux (Fedora

[issue23375] test_py3kwarn fails on Windows

2015-09-03 Thread STINNER Victor
Changes by STINNER Victor : Added file: http://bugs.python.org/file40332/test_py3kwarn-2.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue23375] test_py3kwarn fails on Windows

2015-09-03 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file40331/test_py3kwarn.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue23375] test_py3kwarn fails on Windows

2015-09-03 Thread STINNER Victor
STINNER Victor added the comment: > I can't reproduce the failure on Linux. Do you have a 64-bit system? imageop is only built on 32-bit systems... > Looks like a test ordering issue. When test_imageop runs before > test_py3kwarn, the warning has presumably already been shown once and so > is

[issue23375] test_py3kwarn fails on Windows

2015-09-02 Thread Zachary Ware
Zachary Ware added the comment: Could this have anything to do with the fact that imageop is a 'built-in' (as opposed to 'extension') module on Windows? Either way, I'm about ready to just skip testing the warning for that module on Windows. -- ___

[issue23375] test_py3kwarn fails on Windows

2015-02-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I can't reproduce the failure on Linux. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue23375] test_py3kwarn fails on Windows

2015-02-02 Thread Steve Dower
Steve Dower added the comment: Looks like a test ordering issue. When test_imageop runs before test_py3kwarn, the warning has presumably already been shown once and so isn't triggered when the test is looking for it (compare build 3092 linked above with 3093, which passed). I haven't looked a

[issue23375] test_py3kwarn fails on Windows

2015-02-01 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: http://buildbot.python.org/all/builders/x86%20XP-4%202.7/builds/3092/steps/test/logs/stdio == FAIL: test_optional_module_removals (test.test_py3kwarn.TestStdlibRemovals)