This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ezio.melotti, flox, jnoller, pitrou, ronaldoussoren, schmir, tarek, vstinner
Date 2010-03-11.13:52:02
SpamBayes Score 1.494635e-10
Marked as misclassified No
Message-id <1268315524.79.0.0999012773727.issue7774@psf.upfronthosting.co.za>
In-reply-to
Content
Oh well, it's really hard to test the tests in my working copy because it depends on a lot of factors: the current working directory, is Python installed or not, the OS, etc. The test introduced in r78835 was incorrect (only the test, the fix is correct): r78836 fixes the test for Windows (where sys.executable is correct even if argv[0] is set to a non existent program name, I don't understand how) and r78837 fixes the test for Ubuntu.

r78837 is a temporary fix to workaround #7774 bug: it's the same hack used in test_executable_with_cwd() from test_subprocess.
History
Date User Action Args
2010-03-11 13:52:04vstinnersetrecipients: + vstinner, ronaldoussoren, pitrou, schmir, tarek, jnoller, ezio.melotti, flox
2010-03-11 13:52:04vstinnersetmessageid: <1268315524.79.0.0999012773727.issue7774@psf.upfronthosting.co.za>
2010-03-11 13:52:03vstinnerlinkissue7774 messages
2010-03-11 13:52:02vstinnercreate