summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2017-04-14 18:17:12 -0700
committerPatrick McLean <chutzpah@gentoo.org>2017-04-14 18:17:12 -0700
commitc3a74efba946c7428e8984f810fdd5d219f3c16d (patch)
treebb9877053aad15058cd0f42762447ce0f39d0337 /dev-python/ujson/files/ujson-1.35-test-depricationwarning.patch
parentsys-kernel/gentoo-sources: Fix for CVE-2016-10229. Unsafe second checksum cal... (diff)
downloadgentoo-c3a74efba946c7428e8984f810fdd5d219f3c16d.tar.gz
gentoo-c3a74efba946c7428e8984f810fdd5d219f3c16d.tar.bz2
gentoo-c3a74efba946c7428e8984f810fdd5d219f3c16d.zip
dev-python/ujson: Version bump to 1.35
Also pull in a few bugfixes from upstream and fix a DeprecationWarning in the tests. Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-python/ujson/files/ujson-1.35-test-depricationwarning.patch')
-rw-r--r--dev-python/ujson/files/ujson-1.35-test-depricationwarning.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/ujson/files/ujson-1.35-test-depricationwarning.patch b/dev-python/ujson/files/ujson-1.35-test-depricationwarning.patch
new file mode 100644
index 000000000000..6ce987581c4f
--- /dev/null
+++ b/dev-python/ujson/files/ujson-1.35-test-depricationwarning.patch
@@ -0,0 +1,11 @@
+--- ujson-1.35.orig/tests/tests.py 2017-04-14 18:14:36.298345782 -0700
++++ ujson-1.35/tests/tests.py 2017-04-14 18:14:47.899947795 -0700
+@@ -702,7 +702,7 @@
+
+ output = ujson.encode(ObjectTest())
+ dec = ujson.decode(output)
+- self.assertEquals(dec, {})
++ self.assertEqual(dec, {})
+
+ def test_toDict(self):
+ d = {"key": 31337}