[issue19398] test_trace fails with -S

2017-03-31 Thread Donald Stufft
Changes by Donald Stufft : -- pull_requests: +846 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue19398] test_trace fails with -S

2016-11-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue19398] test_trace fails with -S

2016-11-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset db220f2df5a9 by Serhiy Storchaka in branch '3.5': Issue #19398: Extra slash no longer added to sys.path components in case of https://hg.python.org/cpython/rev/db220f2df5a9 New changeset 1a88baaed7a0 by Serhiy Storchaka in branch '3.6': Issue #19398

[issue19398] test_trace fails with -S

2016-11-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The separator is needed if the relative path is not empty and the prefix doesn't end with the separator. This patch seems also fixes most problems of issue28655. -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka versions: +Python 3.5, Python

[issue19398] test_trace fails with -S

2016-10-03 Thread Tim Smith
Changes by Tim Smith : -- nosy: +tdsmith versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19398] test_trace fails with -S

2013-11-01 Thread Vajrasky Kok
Vajrasky Kok added the comment: Attached the patch to accommodate Terry J. Reedy's request. -- Added file: http://bugs.python.org/file32460/remove_extra_slash_from_sys_path_v2.patch ___ Python tracker

[issue19398] test_trace fails with -S

2013-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: The test should use the more specific assertXyz method: self.assertIn("pprint.cover", files) The error message would then be the more informative AssertionError: 'pprint.cover' not found in -- nosy: +terry.reedy ___

[issue19398] test_trace fails with -S

2013-10-25 Thread Vajrasky Kok
Vajrasky Kok added the comment: I finally found the main culprit which puts extra '/' in my sys.path. The patch removed the extra '/' and also fixed this test automatically. -- Added file: http://bugs.python.org/file32367/remove_extra_slash_from_sys_path.patch

[issue19398] test_trace fails with -S

2013-10-25 Thread Vajrasky Kok
Vajrasky Kok added the comment: This is the "emergency" patch to solve this issue. The main issue is, [sky@localhost cpython]$ ./python -Sc "import sys; print(sys.path)" ['', '/usr/local/lib/python34.zip', '/home/sky/Code/python/programming_language/cpython/Lib/', '/home/sky/Code/python/progr

[issue19398] test_trace fails with -S

2013-10-25 Thread Antoine Pitrou
New submission from Antoine Pitrou: $ ./python -S -m test test_trace [1/1] test_trace test test_trace failed -- Traceback (most recent call last): File "/home/antoine/cpython/default/Lib/test/test_trace.py", line 313, in test_coverage self.assertTrue("pprint.cover" in files) AssertionError