Open theronic opened 7 years ago
I also had to remove unicode from the type list to get it to run in python 3.6.
I have the same issue.
I worked around this by adding the following to my code:
from jsoncompare import jsoncompare as json_comp
# Make json_comp work with Python 3
json_comp.long = int
json_comp.unicode = str
json_comp.xrange = range
EDIT: You'll also need to patch dict comparison, which I didn't bother doing. There is a fork of this in pypi called json_compare that supports python 3: https://pypi.python.org/pypi/json_compare
+1
long is int in Python 3.