Skip to content

Commit 81d7d50

Browse files
committed
fix test for Python 3
1 parent ef515dc commit 81d7d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def test_escape(self):
337337
src = {"x/y": 1}
338338
dst = {"x/y": 2}
339339
patch = jsonpatch.make_patch(src, dst)
340-
self.assertEqual("""[{"path": "/x~1y", "value": 2, "op": "replace"}]""", str(patch))
340+
self.assertEqual([{"path": "/x~1y", "value": 2, "op": "replace"}], patch.patch)
341341
res = patch.apply(src)
342342
self.assertEqual(res, dst)
343343

0 commit comments

Comments
 (0)