summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkostya <suffering.death@gmail.com>2017-03-08 13:30:40 +0200
committerkostya <suffering.death@gmail.com>2017-03-08 13:30:40 +0200
commit05d9aceda8d0269c27d869f13d8ba0c7ca88104e (patch)
tree00323b41fe4f83bb463138c72d9827e96c5034dd
parentd1f317a2b796175154ca5e21c7b32eab1c5800fe (diff)
downloadpython-json-patch-05d9aceda8d0269c27d869f13d8ba0c7ca88104e.tar.gz
Fix: python 3.2 tests
-rwxr-xr-xtests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests.py b/tests.py
index 72611a3..4b7d505 100755
--- a/tests.py
+++ b/tests.py
@@ -433,7 +433,7 @@ class OptimizationTests(unittest.TestCase):
def test_success_if_correct_expected_patch_appied(self):
src = [{"a": 1, "b": 2}]
dst = [{"b": 2, "c": 2}]
- exp = [{u'path': u'/0', u'value': {u'c': 2, u'b': 2}, u'op': u'replace'}]
+ exp = [{'path': '/0', 'value': {'c': 2, 'b': 2}, 'op': 'replace'}]
patch = jsonpatch.make_patch(src, dst)
self.assertEqual(patch.patch, exp)