mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
dev-python/sh: Version bump to 1.12.9
Gentoo-Bug: 608016 Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
22
dev-python/sh/files/sh-1.12.9-python2-unicode-tests.patch
Normal file
22
dev-python/sh/files/sh-1.12.9-python2-unicode-tests.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
diff --git a/test.py b/test.py
|
||||
index 78e00ab..0487594 100644
|
||||
--- a/test.py
|
||||
+++ b/test.py
|
||||
@@ -502,7 +502,7 @@ for key in osx_cruft:
|
||||
print(os.environ["HERP"] + " " + str(len(os.environ)))
|
||||
""" % osx_cruft)
|
||||
out = python(py.name, _env=env).strip()
|
||||
- self.assertEqual(out, "DERP 1")
|
||||
+ self.assertEqual(out, u"DERP 12")
|
||||
|
||||
py = create_tmp_test("""
|
||||
import os, sys
|
||||
@@ -515,7 +515,7 @@ for key in osx_cruft:
|
||||
print(sh.HERP + " " + str(len(os.environ)))
|
||||
""" % osx_cruft)
|
||||
out = python(py.name, _env=env, _cwd=THIS_DIR).strip()
|
||||
- self.assertEqual(out, "DERP 1")
|
||||
+ self.assertEqual(out, u"DERP 12")
|
||||
|
||||
|
||||
def test_which(self):
|
||||
Reference in New Issue
Block a user