[issue25109] test_code_module tests fail when run from the installed location

2018-05-11 Thread Matthias Klose
Matthias Klose added the comment: this seems to be fixed in 3.6 (3.6.5) and 3.7 (beta4). -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker _

[issue25109] test_code_module tests fail when run from the installed location

2015-09-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is 3.5+ only as 2.7 does not have the module and 3.4 does not have the 2 test_xyz_tb functions that failed. This works OK on Win7. C:\Users\Terry>python -m test -v test_code_module == CPython 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 6

[issue25109] test_code_module tests fail when run from the installed location

2015-09-14 Thread Matthias Klose
New submission from Matthias Klose: seen when running the tests in the installed location: the test expects: Traceback (most recent call last): File "", line 1, in ValueError but it gets: Traceback (most recent call last): File "/usr/lib/python3.5/code.py", line 91, in runcode exec(c