Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_subprocess.py @ 77154:294f8aeb4d4b
Implemented PEP 405 (Python virtual environments).
| author | Vinay Sajip <vinay_sajip@yahoo.co.uk> |
|---|---|
| date | Sat, 26 May 2012 03:45:29 +0100 |
| parents | f452d7d5470d |
| children | e4a87f0253e9 |
line wrap: on
line diff
--- a/Lib/test/test_subprocess.py Sat May 26 03:25:23 2012 +0100 +++ b/Lib/test/test_subprocess.py Sat May 26 03:45:29 2012 +0100 @@ -189,6 +189,8 @@ p.wait() self.assertEqual(p.stderr, None) + @unittest.skipIf(sys.base_prefix != sys.prefix, + 'Test is not venv-compatible') def test_executable_with_cwd(self): python_dir = os.path.dirname(os.path.realpath(sys.executable)) p = subprocess.Popen(["somethingyoudonthave", "-c", @@ -197,6 +199,8 @@ p.wait() self.assertEqual(p.returncode, 47) + @unittest.skipIf(sys.base_prefix != sys.prefix, + 'Test is not venv-compatible') @unittest.skipIf(sysconfig.is_python_build(), "need an installed Python. See #7774") def test_executable_without_cwd(self):
