gentoo/dev-python/ujson/files/ujson-1.35-test-depricationwarning.patch
Patrick McLean c3a74efba9
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
2017-04-14 18:17:12 -07:00

12 lines
369 B
Diff

--- 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}