STINNER Victor added the comment:
Ah, I reproduced the bug:
$ rmdir ~/.local/lib/python3.7/site-packages; ./python -m test test_site
Run tests sequentially
0:00:00 [1/1] test_site
Warning -- sys.path was modified by test_site
Before: (140302199734024, ['', '/home/haypo/prog/GIT/perf',
'/usr/local/lib/python37.zip', '/home/haypo/prog/python/master/Lib',
'/home/haypo/prog/python/master/build/lib.linux-x86_64-3.7'], ['',
'/home/haypo/prog/GIT/perf', '/usr/local/lib/python37.zip',
'/home/haypo/prog/python/master/Lib',
'/home/haypo/prog/python/master/build/lib.linux-x86_64-3.7'])
After: (140302199734024, ['', '/home/haypo/prog/GIT/perf',
'/usr/local/lib/python37.zip', '/home/haypo/prog/python/master/Lib',
'/home/haypo/prog/python/master/build/lib.linux-x86_64-3.7'], ['',
'/home/haypo/prog/GIT/perf', '/usr/local/lib/python37.zip',
'/home/haypo/prog/python/master/Lib',
'/home/haypo/prog/python/master/build/lib.linux-x86_64-3.7',
'/home/haypo/.local/lib/python3.7/site-packages'])
test_site failed (env changed)
1 test altered the execution environment:
test_site
Total duration: 229 ms
Tests result: SUCCESS
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue30108>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com