Skip to content

Commit

Permalink
fix test for Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankoegl committed Mar 22, 2014
1 parent ef515dc commit 81d7d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests.py
Expand Up @@ -337,7 +337,7 @@ def test_escape(self):
src = {"x/y": 1}
dst = {"x/y": 2}
patch = jsonpatch.make_patch(src, dst)
self.assertEqual("""[{"path": "/x~1y", "value": 2, "op": "replace"}]""", str(patch))
self.assertEqual([{"path": "/x~1y", "value": 2, "op": "replace"}], patch.patch)
res = patch.apply(src)
self.assertEqual(res, dst)

Expand Down

0 comments on commit 81d7d50

Please sign in to comment.