summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests.py b/tests.py
index 0788d48..28fde9b 100755
--- a/tests.py
+++ b/tests.py
@@ -953,8 +953,10 @@ class CustomOperationTests(unittest.TestCase):
class JsonPatch(jsonpatch.JsonPatch):
operations = MappingProxyType(
- identity=IdentityOperation,
- **jsonpatch.JsonPatch.operations
+ dict(
+ identity=IdentityOperation,
+ **jsonpatch.JsonPatch.operations
+ )
)
patch = JsonPatch([{'op': 'identity', 'path': '/'}])