Skip to content

Commit

Permalink
Added JSONDecodeError definition for Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerkin committed Nov 7, 2017
1 parent 10f2095 commit 7c7dbe9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sciunit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from StringIO import StringIO
if sys.version_info.major < 3:
FileNotFoundError = OSError
json.JSONDecodeError = ValueError

import numpy as np
import pandas as pd
Expand Down

0 comments on commit 7c7dbe9

Please sign in to comment.