From 9310d48af5bfcde50f9b05fdd43deeafec11c805 Mon Sep 17 00:00:00 2001 From: Artyom Nikitin Date: Tue, 24 Nov 2020 23:20:35 +0300 Subject: test: fix --- tests.py | 6 ++++-- 1 file 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': '/'}]) -- cgit v1.2.1