Revert r78830: realpath() should really be applied to sys.executable.

This commit is contained in:
Florent Xicluna 2010-03-11 01:50:48 +00:00
parent 6602ec6eff
commit 637637021a
2 changed files with 3 additions and 4 deletions

View file

@ -135,7 +135,7 @@ class ProcessTestCase(unittest.TestCase):
self.assertEqual(p.stderr, None)
def test_executable_with_cwd(self):
python_dir = os.path.realpath(os.path.dirname(sys.executable))
python_dir = os.path.dirname(os.path.realpath(sys.executable))
p = subprocess.Popen(["somethingyoudonthave", "-c",
"import sys; sys.exit(47)"],
executable=sys.executable, cwd=python_dir)