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)