summaryrefslogtreecommitdiff
path: root/ext_tests.py
diff options
context:
space:
mode:
authorStefan Kögl <stefan@skoegl.net>2013-10-09 18:38:58 +0200
committerStefan Kögl <stefan@skoegl.net>2013-10-09 18:38:58 +0200
commitbd90a7a39d1307f78ad89103e960d249aafacacb (patch)
tree75dc4e2c365386973d9ccb3ad3cd6b6bc57f6219 /ext_tests.py
parentc5a5b4864da5a71a2f35d9d59b1406f2241339c9 (diff)
downloadpython-json-patch-bd90a7a39d1307f78ad89103e960d249aafacacb.tar.gz
exception if patch has multiple "op"s
Diffstat (limited to 'ext_tests.py')
-rwxr-xr-xext_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext_tests.py b/ext_tests.py
index d7c7585..476f66d 100755
--- a/ext_tests.py
+++ b/ext_tests.py
@@ -94,7 +94,7 @@ def get_suite(filenames):
for testfile in filenames:
with open(testfile) as f:
- tests = json.load(f)
+ tests = json.load(f, object_pairs_hook=jsonpatch.multidict)
cls = make_test_case(tests)
suite.addTest(unittest.makeSuite(cls))