diff options
Diffstat (limited to 'dev-python/google-apputils/files/0.4.2-sh_test-env.patch')
-rw-r--r-- | dev-python/google-apputils/files/0.4.2-sh_test-env.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/dev-python/google-apputils/files/0.4.2-sh_test-env.patch b/dev-python/google-apputils/files/0.4.2-sh_test-env.patch deleted file mode 100644 index 69ebe6278f9d..000000000000 --- a/dev-python/google-apputils/files/0.4.2-sh_test-env.patch +++ /dev/null @@ -1,21 +0,0 @@ -Prevent the environment from being clobbered during sh_test - -diff --git a/tests/sh_test.py b/tests/sh_test.py -index ab41055..d1b08c6 100644 ---- a/tests/sh_test.py -+++ b/tests/sh_test.py -@@ -29,12 +29,8 @@ class ShellScriptTests(basetest.TestCase): - path_with_python = ':'.join(( - os.path.dirname(sys.executable), os.environ.get('PATH'))) - -- env = { -- 'PATH': path_with_python, -- # Setuptools puts dependency eggs in our path, so propagate that. -- 'PYTHONPATH': os.pathsep.join(sys.path), -- 'TEST_TMPDIR': FLAGS.test_tmpdir, -- } -+ env = os.environ.copy() -+ env['TEST_TMPDIR'] = FLAGS.test_tmpdir - p = subprocess.Popen(sh_test_path, cwd=tests_path, env=env) - self.assertEqual(0, p.wait()) - |