Revert r78830: realpath() should really be applied to sys.executable.
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index 365ac91..dc57c46 100644
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -135,7 +135,7 @@
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)