[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Victor for fixing this bug. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8105dd7f75b6aa5f812522d452cd378372752a10 by Victor Stinner in branch '2.7': bpo-30223: Add global in regrtest main_in_temp_cwd (#1399) https://github.com/python/cpython/commit/8105dd7f75b6aa5f812522d452cd378372752a10 --

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: > Hum, it seems like test_regrtest is more and more important. To be fair, I don't think that this particular bug would be catched by the CI since the bug is only triggered on a buildbot which installs Python and runs tests on the installed test suite. It sho

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1508 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: Hum, it seems like test_regrtest is more and more important. Yet another regression: http://buildbot.python.org/all/builders/x86%20Gentoo%20Installed%20with%20X%202.7/builds/126/steps/test/logs/stdio Traceback (most recent call last): File "/buildbot/builda

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Zachary! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8e158b2316385497c7b6b818d8b45855d7f87f0b by Serhiy Storchaka in branch '2.7': [2.7] bpo-30223: Fix test_xpickle for Python 2.4. (#1395) https://github.com/python/cpython/commit/8e158b2316385497c7b6b818d8b45855d7f87f0b -- _

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Zachary Ware
Zachary Ware added the comment: 2.4 is rather far out of date, but PR1395 is simple enough. I would support re-adding test_xpickle in 3.x, and can ensure that every major version is available on that buildbot to exercise it. -- ___ Python tracker

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, it is so easy to break test_xpickle. But I think this test is very important. It is pity that test_xpickle is removed in 3.x. I hope PR 1395 will fix test_xpickle. -- ___ Python tracker

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1503 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Zachary Ware
Zachary Ware added the comment: Once again, I agree with the change, but I have an unhappy buildbot :) http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%20with%20X%202.7/builds/124 This time it is due to python 2.4 not supporting the absolute_import __future__ feature. By this

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: These new features affect only core developers and other contributors fixing bugs in 2.7. I don't think the "no new features" guideline is applicable here. -- resolution: -> fixed stage: -> resolved status: open -> closed __

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 43566aee12a177a7aef5d732abf768251e6b8a12 by Serhiy Storchaka in branch '2.7': [2.7] bpo-30223: Add Lib/test/__main__.py. (#1373) https://github.com/python/cpython/commit/43566aee12a177a7aef5d732abf768251e6b8a12 --

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Nick Coghlan
Nick Coghlan added the comment: +1 from me. We hadn't done this (or the test.support backport) previously due to the "no new features" guideline, but I think simplifying cross-branch maintenance overrides that concerns. -- ___ Python tracker

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Xiang Zhang
Xiang Zhang added the comment: +1. Every time when I want to run tests for 2.7, I have to type twice. Once python -m test, error and then python -m test.regrtest. -- nosy: +xiang.zhang ___ Python tracker _

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1481 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-02 Thread STINNER Victor
STINNER Victor added the comment: Oh yes, I always wanted this tiny feature! It's painful to have to adapt my command for Python 2 after testing Python 3. -- nosy: +haypo ___ Python tracker ___

[issue30223] Add Lib/test/__main__.py in 2.7

2017-05-01 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Following patch adds Lib/test/__main__.py in 2.7. This allows running tests with 'python -m test' as in 3.x. -- components: Tests messages: 292720 nosy: ezio.melotti, ncoghlan, serhiy.storchaka priority: normal severity: normal status: open title: A