[issue45229] Always use unittest for collecting tests in regrtests

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 919268316582c6ac47960c2e5dd2ee1682371494 by Miss Islington (bot) in branch '3.9': bpo-45229: Make doctest tests discoverable (GH-28986) (GH-29096) https://github.com/python/cpython/commit/919268316582c6ac47960c2e5dd2ee1682371494 -- _

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 65de808811f93793599209f74bb1bab3ad399b17 by Miss Islington (bot) in branch '3.10': bpo-45229: Make doctest tests discoverable (GH-28986) (GH-29095) https://github.com/python/cpython/commit/65de808811f93793599209f74bb1bab3ad399b17 --

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +27368 pull_request: https://github.com/python/cpython/pull/29096 ___ Python tracker ___ __

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-20 Thread miss-islington
Change by miss-islington : -- message_count: 30.0 -> 31.0 pull_requests: +27367 pull_request: https://github.com/python/cpython/pull/29095 ___ Python tracker ___ __

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8d6740f489fca67a44de165d29d9e0ad86285779 by Serhiy Storchaka in branch 'main': bpo-45229: Make doctest tests discoverable (GH-28986) https://github.com/python/cpython/commit/8d6740f489fca67a44de165d29d9e0ad86285779 -- ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-17 Thread miss-islington
miss-islington added the comment: New changeset 65c1db794e0484e18142658c691141387c1dc2e4 by Miss Islington (bot) in branch '3.10': bpo-45229: Make test_http_cookiejar discoverable (GH-29004) https://github.com/python/cpython/commit/65c1db794e0484e18142658c691141387c1dc2e4 -- __

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-17 Thread miss-islington
miss-islington added the comment: New changeset 1dbf9c86b25463b9bc695e434ac034a7e313ba01 by Miss Islington (bot) in branch '3.9': bpo-45229: Make test_http_cookiejar discoverable (GH-29004) https://github.com/python/cpython/commit/1dbf9c86b25463b9bc695e434ac034a7e313ba01 -- ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +27288 pull_request: https://github.com/python/cpython/pull/29007 ___ Python tracker ___ __

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b3f0ceae919c1627094ff628c87184684a5cedd6 by Serhiy Storchaka in branch 'main': bpo-45229: Make test_http_cookiejar discoverable (GH-29004) https://github.com/python/cpython/commit/b3f0ceae919c1627094ff628c87184684a5cedd6 --

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +27287 pull_request: https://github.com/python/cpython/pull/29006 ___ Python tracker ___ __

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +27286 pull_request: https://github.com/python/cpython/pull/29004 ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +Rewrite test_dbm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +Fix test_shelve and make it discoverable ___ Python tracker ___ ___ Python-bugs-list

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +27272 pull_request: https://github.com/python/cpython/pull/28986 ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-15 Thread jerry chow
Change by jerry chow : -- nosy: +jerrylikerice1s ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 5d747130933a25a3984f78ae32d2e74a0d2dc5d1 by Łukasz Langa in branch '3.9': [3.9] bpo-45229: Make tkinter tests discoverable (GH-28637) (GH-28929) https://github.com/python/cpython/commit/5d747130933a25a3984f78ae32d2e74a0d2dc5d1 -- ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 151234f5da4b1922e3d91233a6eddda92d7269b0 by Miss Islington (bot) in branch '3.10': bpo-45229: Make tkinter tests discoverable (GH-28637) (GH-28927) https://github.com/python/cpython/commit/151234f5da4b1922e3d91233a6eddda92d7269b0 --

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-13 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +27218 pull_request: https://github.com/python/cpython/pull/28929 ___ Python tracker ___ _

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +27216 pull_request: https://github.com/python/cpython/pull/28927 ___ Python tracker ___ __

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f59ed3c310a7ceebf2a56a84ea969a7f75d95b64 by Serhiy Storchaka in branch 'main': bpo-45229: Make tkinter tests discoverable (GH-28637) https://github.com/python/cpython/commit/f59ed3c310a7ceebf2a56a84ea969a7f75d95b64 -- ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e9d5cdda1ffa369550a634a3ec220db93433e0f4 by Serhiy Storchaka in branch '3.9': Revert "Revert "bpo-45229: Make datetime tests discoverable (GH-28615). (GH-28645)" (GH-28660)" (GH-28666) https://github.com/python/cpython/commit/e9d5cdda1ffa3695

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2f205920127bd93eebed044cb1b61834764478ba by Serhiy Storchaka in branch 'main': Revert "Revert "bpo-45229: Make datetime tests discoverable (GH-28615)" (GH-28650)" (GH-28667) https://github.com/python/cpython/commit/2f205920127bd93eebed044cb1b

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-01 Thread miss-islington
miss-islington added the comment: New changeset ef7c7294e8404d844c1add892a8f6684e6cf4f31 by Miss Islington (bot) in branch '3.10': bpo-45229: Make datetime tests discoverable (GH-28615) https://github.com/python/cpython/commit/ef7c7294e8404d844c1add892a8f6684e6cf4f31 -- ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +27033 pull_request: https://github.com/python/cpython/pull/28668 ___ Python tracker ___ __

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +27032 pull_request: https://github.com/python/cpython/pull/28667 ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-10-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +27031 pull_request: https://github.com/python/cpython/pull/28666 ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-30 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2cf76cf4ccd177b8d6d2bf21b5462258ae87522d by Łukasz Langa in branch '3.9': Revert "bpo-45229: Make datetime tests discoverable (GH-28615). (GH-28645)" (GH-28660) https://github.com/python/cpython/commit/2cf76cf4ccd177b8d6d2bf21b5462258ae87522d --

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-30 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +27025 pull_request: https://github.com/python/cpython/pull/28660 ___ Python tracker ___ _

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 993a130d3abe7684dc9c999874b4dd1d8ea55a2a by Serhiy Storchaka in branch '3.9': [3.9] bpo-45229: Make datetime tests discoverable (GH-28615). (GH-28645) https://github.com/python/cpython/commit/993a130d3abe7684dc9c999874b4dd1d8ea55a2a

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset b07fddd527efe67174ce6b0fdbe8dac390b16e4e by Pablo Galindo Salgado in branch 'main': Revert "bpo-45229: Make datetime tests discoverable (GH-28615)" (GH-28650) https://github.com/python/cpython/commit/b07fddd527efe67174ce6b0fdbe8dac390b16e

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See issue40058 and issue40173. -- dependencies: +Running test_datetime twice fails with: module 'datetime' has no attribute '_divide_and_round', test.support.import_fresh_module fails to correctly block submodules when fresh is specified _

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-30 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27018 pull_request: https://github.com/python/cpython/pull/28650 ___ Python tracker ___ ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Seems this is not a new bug: I agree, is unfortunate. But sadly is breaking all buildbots and therefore is hiding other issues and making the 'test-with-buildbots' label not useful. I would prefer to revert until we have a fix (and not land the back

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Seems this is not a new bug: $ ./python -m test test_datetime test_datetime -m test_divide_and_round 0:00:00 load avg: 2.36 Run tests sequentially 0:00:00 load avg: 2.36 [1/2] test_datetime 0:00:00 load avg: 2.36 [2/2] test_datetime test test_datetime failed

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately, this PR28615 seems to have broken a bunch of buildbots. For instance: https://buildbot.python.org/all/#/builders/75/builds/172/steps/5/logs/stdio ``` test_divide_and_round (test.datetimetester.TestModule_Pure) ... ok test_divide_and_rou

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +27013 pull_request: https://github.com/python/cpython/pull/28645 ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +27008 pull_request: https://github.com/python/cpython/pull/28639 ___ Python tracker ___ __

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d441437ee71ae174c008c23308b749b91020ba77 by Serhiy Storchaka in branch 'main': bpo-45229: Make datetime tests discoverable (GH-28615) https://github.com/python/cpython/commit/d441437ee71ae174c008c23308b749b91020ba77 -- _

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +27006 pull_request: https://github.com/python/cpython/pull/28637 ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26986 pull_request: https://github.com/python/cpython/pull/28615 ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 04dea46dde25d58f242171181805f0e71a042963 by Miss Islington (bot) in branch '3.9': bpo-45229: Make pickle tests discoverable (GH-28467) (GH-28479) https://github.com/python/cpython/commit/04dea46dde25d58f242171181805f0e71a042963 -- nosy: +

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 74c6acc76fa00f1b80e96c8d4608ba1487387949 by Miss Islington (bot) in branch '3.10': bpo-45229: Make pickle tests discoverable (GH-28467) (GH-28478) https://github.com/python/cpython/commit/74c6acc76fa00f1b80e96c8d4608ba1487387949 -- nosy:

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-20 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +26876 pull_request: https://github.com/python/cpython/pull/28478 ___ Python tracker _

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e6ba992288fdbe71aa808cfb6955f6f99da7e349 by Serhiy Storchaka in branch 'main': bpo-45229: Make pickle tests discoverable (GH-28467) https://github.com/python/cpython/commit/e6ba992288fdbe71aa808cfb6955f6f99da7e349 -- ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +26877 pull_request: https://github.com/python/cpython/pull/28479 ___ Python tracker ___ __

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for doing this. When I started setting up the IDLE test suite 8 years ago, I was a bit confused about the mixture of old ways (test_main) and new ways (unittest.main and possibly load_tests) in the test suite. Fortunately, Nick C. told me which w

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a856364cc920d8b16750fd1fadc902efb509754c by Serhiy Storchaka in branch 'main': bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) https://github.com/python/cpython/commit/a856364cc920d8b16750fd1fadc902efb509754c --

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26867 pull_request: https://github.com/python/cpython/pull/28468 ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26866 pull_request: https://github.com/python/cpython/pull/28467 ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5822ab672a1d26ff1837103c1ed8e4c3c2a42b87 by Serhiy Storchaka in branch '3.9': [3.9] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28456) https://github.com/python/cpython/commit/5822ab672a1d26ff1837103c1ed8e4c3c2a42b87 --

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset bedce3538cca3469ac3efc614ef062367cbb2ff1 by Serhiy Storchaka in branch '3.10': [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) https://github.com/python/cpython/commit/bedce3538cca3469ac3efc614ef062367cbb2ff1 -

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26858 pull_request: https://github.com/python/cpython/pull/28456 ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a6241773869b80f2b1cac63f26ba646aa808a8db by Serhiy Storchaka in branch 'main': bpo-45229: Fix setUpModule in test_ssl (GH-28454) https://github.com/python/cpython/commit/a6241773869b80f2b1cac63f26ba646aa808a8db -- __

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26857 pull_request: https://github.com/python/cpython/pull/28455 ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26856 pull_request: https://github.com/python/cpython/pull/28454 ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 40348acc180580371d25f75f46b27048e35f2435 by Serhiy Storchaka in branch 'main': bpo-45229: Remove test_main in many tests (GH-28405) https://github.com/python/cpython/commit/40348acc180580371d25f75f46b27048e35f2435 -- ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Zachary, I almost forgot about that issue. The goal of this issue is to make regrtests using test discovery instead of manually composed lists of test classes. Of course it requires that tests should be discoverable. And most of them already are,

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-17 Thread Zachary Ware
Zachary Ware added the comment: See also bpo-16748 -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +Some tests in test_socket are not run, test.test_ssl.TestEnumerations is not run ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 28405 contains simple changes for 60 test files. It does not cover files which use complex code for generating list of test classes and running doctests (because there are subtle differences between running doctests with run_doctest() and via DocTestSui

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +26817 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28405 ___ Python tracker ___

[issue45229] Always use unittest for collecting tests in regrtests

2021-09-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently regrtest supports two ways of collecting and running tests in module. 1. If the module contains the "test_main" function, regrtest just calls it. This function usually calls run_unittest() with a list of test classes, composed manually, it can