Fix tests for Python 3.2
This commit is contained in:
parent
348ec1d9ed
commit
23f9b1a34b
2
tests.py
2
tests.py
|
@ -354,7 +354,7 @@ class MakePatchTestCase(unittest.TestCase):
|
|||
def test_make_patch_unicode(self):
|
||||
""" Test if unicode keys and values are handled correctly """
|
||||
src = {}
|
||||
dst = {u'\xee': u'\xee'}
|
||||
dst = {'\xee': '\xee'}
|
||||
patch = jsonpatch.make_patch(src, dst)
|
||||
res = patch.apply(src)
|
||||
self.assertEqual(res, dst)
|
||||
|
|
Loading…
Reference in New Issue