We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50a5e0d commit 5d1980dCopy full SHA for 5d1980d
requirements.txt
@@ -1 +1 @@
1
-jsonpointer>=1.5
+jsonpointer>=1.9
tests.py
@@ -351,6 +351,14 @@ def test_root_list(self):
351
res = patch.apply(src)
352
self.assertEqual(res, dst)
353
354
+ def test_make_patch_unicode(self):
355
+ """ Test if unicode keys and values are handled correctly """
356
+ src = {}
357
+ dst = {u'\xee': u'\xee'}
358
+ patch = jsonpatch.make_patch(src, dst)
359
+ res = patch.apply(src)
360
+ self.assertEqual(res, dst)
361
+
362
363
class InvalidInputTests(unittest.TestCase):
364
0 commit comments