summaryrefslogtreecommitdiff
path: root/dev-python/sh/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-23 10:22:15 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-23 10:22:15 +0100
commit8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch)
tree230f3135ceaace633cf93e9838b185c4a6664c2e /dev-python/sh/files
parent9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff)
gentoo resync : 23.09.2020
Diffstat (limited to 'dev-python/sh/files')
-rw-r--r--dev-python/sh/files/sh-1.12.14-tests.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/dev-python/sh/files/sh-1.12.14-tests.patch b/dev-python/sh/files/sh-1.12.14-tests.patch
deleted file mode 100644
index bc3d1b59fef6..000000000000
--- a/dev-python/sh/files/sh-1.12.14-tests.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff --git a/test.py b/test.py
-index 68ef40c..640e5b5 100644
---- a/test.py
-+++ b/test.py
-@@ -515,6 +515,13 @@ def test_environment(self):
- "VERSIONER_PYTHON_VERSION",
- ]
-
-+ # On python-3.7+, the changes for no encoding inject LC_CTYPE into subprocesses
-+ py37_extra_envvars = [
-+ "LC_CTYPE",
-+ ]
-+
-+ prune_envvars = osx_cruft + py37_extra_envvars
-+
- # first we test that the environment exists in our child process as
- # we've set it
- py = create_tmp_test("""
-@@ -525,7 +532,7 @@ def test_environment(self):
- try: del os.environ[key]
- except: pass
- print(os.environ["HERP"] + " " + str(len(os.environ)))
--""" % osx_cruft)
-+""" % prune_envvars)
- out = python(py.name, _env=env).strip()
- self.assertEqual(out, "DERP 1")
-
-@@ -533,12 +540,12 @@ def test_environment(self):
- import os, sys
- sys.path.insert(0, os.getcwd())
- import sh
--osx_cruft = %s
--for key in osx_cruft:
-+prune_envvars = %s
-+for key in prune_envvars:
- try: del os.environ[key]
- except: pass
- print(sh.HERP + " " + str(len(os.environ)))
--""" % osx_cruft)
-+""" % prune_envvars)
- out = python(py.name, _env=env, _cwd=THIS_DIR).strip()
- self.assertEqual(out, "DERP 1")
-