Skip to content

Commit 8d46c89

Browse files
committed
fix so that tests work
1 parent cc0534a commit 8d46c89

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

json_merge_patch/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def merge(files, output):
2525

2626
def create_patch(original, target, output):
2727
with open(original) as original_file, open(target) as target_file:
28-
original_json = json.load(original_file, object_pairs_hook=OrderedDict)
29-
target_json = json.load(target_file, object_pairs_hook=OrderedDict)
28+
original_json = json.load(original_file)
29+
target_json = json.load(target_file)
3030
result = json_merge_patch.create_patch(original_json, target_json)
3131

3232
patch = json.dumps(result, indent=4)

json_merge_patch/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import unittest
2-
import merge
2+
import lib as merge
33

44
fixtures = [
55
[{

0 commit comments

Comments
 (0)