summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtyom Nikitin <a.nikitin@edadeal.ru>2020-11-24 23:20:35 +0300
committerArtyom Nikitin <a.nikitin@edadeal.ru>2020-11-24 23:20:35 +0300
commit9310d48af5bfcde50f9b05fdd43deeafec11c805 (patch)
tree4f87fa648f19c673febc1ed0c170fec6944be264
parent1268e09ffaead08f22184b63b3ad34bb41ab8bab (diff)
downloadpython-json-patch-9310d48af5bfcde50f9b05fdd43deeafec11c805.tar.gz
test: fix
-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': '/'}])