[issue16170] remove Linux skip from test_subprocess's test_executable() test

2012-10-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: Never mind on the above question. Those are different argv's. -- ___ Python tracker ___ ___ Python-

[issue16170] remove Linux skip from test_subprocess's test_executable() test

2012-10-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Python under Unix uses its own path to determine where the standard library > is, and it does so by inspecting argv[0]. Actually, how is the above able to work if sys.argv[0] is set to "-c" when Python is invoked using the "-c" option (as it is in the test).

[issue16170] remove Linux skip from test_subprocess's test_executable() test

2012-10-09 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue16170] remove Linux skip from test_subprocess's test_executable() test

2012-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9451908da615 by Chris Jerdonek in branch '3.3': Issue #16170: Remove Linux skip from test_subprocess's test_executable test. http://hg.python.org/cpython/rev/9451908da615 New changeset 0ee03c9b098f by Chris Jerdonek in branch 'default': Issue #16170

[issue16170] remove Linux skip from test_subprocess's test_executable() test

2012-10-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: Okay, even better. :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue16170] remove Linux skip from test_subprocess's test_executable() test

2012-10-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: That's great, thanks for the pointer, Antoine. I will try that out later today. -- ___ Python tracker ___ _

[issue16170] remove Linux skip from test_subprocess's test_executable() test

2012-10-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, I've just checked that your patch works under Linux. -- ___ Python tracker ___ ___ Python-

[issue16170] remove Linux skip from test_subprocess's test_executable() test

2012-10-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Chris, you can also push a custom repo to a custom builder: http://docs.python.org/devguide/buildbots.html#custom-builders -- ___ Python tracker ___

[issue16170] remove Linux skip from test_subprocess's test_executable() test

2012-10-09 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue16170] remove Linux skip from test_subprocess's test_executable() test

2012-10-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks for the explanation and suggestion, Antoine. I'm attaching a patch that incorporates the suggestion, but I haven't checked that it works yet (I would need to use snakebite). -- keywords: +patch Added file: http://bugs.python.org/file27507/issue

[issue16170] remove Linux skip from test_subprocess's test_executable() test

2012-10-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Try prefixing "doesnotexist" with the same dirname as sys.executable (i.e. `os.path.join(os.path.dirname(sys.executable), "doesnotexist")`). Python under Unix uses its own path to determine where the standard library is, and it does so by inspecting argv[0]. -

[issue16170] remove Linux skip from test_subprocess's test_executable() test

2012-10-08 Thread Chris Jerdonek
Chris Jerdonek added the comment: For future reference, this issue resulted from the tests committed for issue 16115. -- ___ Python tracker ___ _

[issue16170] remove Linux skip from test_subprocess's test_executable() test

2012-10-08 Thread Chris Jerdonek
New submission from Chris Jerdonek: This issue is to make whatever changes are necessary to remove the skip from test_subprocess's test_executable() test (currently skipping machines that are neither Windows nor Mac): http://hg.python.org/cpython/file/ef90c5e482f4/Lib/test/test_subprocess.py#l