From 05018d0a9e7a82a403a4db7b5f03d5b567d3f677 Mon Sep 17 00:00:00 2001 From: "hongyan.li" <48821911+Hooooyannn@users.noreply.github.com> Date: Fri, 14 Aug 2020 11:39:02 +0800 Subject: [PATCH] Update jsoncompare.py There is no 'long integer' in Python 3 anymore --- jsoncompare/jsoncompare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsoncompare/jsoncompare.py b/jsoncompare/jsoncompare.py index 9a2357f..ac2cc75 100644 --- a/jsoncompare/jsoncompare.py +++ b/jsoncompare/jsoncompare.py @@ -109,7 +109,7 @@ def _are_same(expected, actual, ignore_value_of_keys, ignore_missing_keys=False) actual)) # Compare primitive types immediately - if type(expected) in (int, str, bool, long, float, unicode): + if type(expected) in (int, str, bool, float): return expected == actual, Stack() # Ensure collections have the same length (if applicable)