Last active
November 19, 2019 10:13
-
-
Save gary-liguoliang/2179c482df330b9609f3731e9be70f46 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if expected != actual: | |
import json | |
with open("expected.json", "w+") as e: | |
e.write(json.dumps(expected, indent=4, sort_keys=True)) | |
with open("actual.json", "w+") as a: | |
a.write(json.dumps(actual, indent=4, sort_keys=True)) |
Author
gary-liguoliang
commented
Nov 15, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment