[issue31836] test_code_module fails after test_idle

2017-10-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue31836] test_code_module fails after test_idle

2017-10-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 8ed5644f78e57cd59813097b35906ad6f1775f95 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.6': bpo-31836: Test_code_module now passes with sys.ps1, ps2 set (GH-4070) (#4156) https://github.com/python/cpython/commit/8ed5644f78e57cd59813097b35

[issue31836] test_code_module fails after test_idle

2017-10-27 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4126 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue31836] test_code_module fails after test_idle

2017-10-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5a4bbcd479ce86f68bbe12bc8c16e3447f32e13a by Terry Jan Reedy in branch 'master': bpo-31836: Test_code_module now passes with sys.ps1, ps2 set (#4070) https://github.com/python/cpython/commit/5a4bbcd479ce86f68bbe12bc8c16e3447f32e13a -- _

[issue31836] test_code_module fails after test_idle

2017-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: On the PR, Serhiy asks "Wouldn't be better to restore sys.ps1 in test_idle if it is changed here?" Aside from the fact that, as far as I know, it is not sanely possible to do so, I think it a bug for a test to be unnecessarily fragile. Both ps1 and ps2 are

[issue31836] test_code_module fails after test_idle

2017-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Running test_code_module afte test_idle, which somewhere executes idle code that sets sys.ps1, exposed a deficiency in test_code_module. TestInteractiveConsole.test_ps1 is intended to test this code in InteractiveConsole.interact. try: sy

[issue31836] test_code_module fails after test_idle

2017-10-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +4041 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue31836] test_code_module fails after test_idle

2017-10-21 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : $ ./python -m test -uall test_idle test_code_module Run tests sequentially 0:00:00 load avg: 0.42 [1/2] test_idle 0:00:02 load avg: 0.42 [2/2] test_code_module test test_code_module failed -- Traceback (most recent call last): File "/home/serhiy/py/cpython