Skip to content

Commit

Permalink
Merge pull request #1331 from jseabold/dataset-unicode-docstrings
Browse files Browse the repository at this point in the history
ENH: Always use unicode.
  • Loading branch information
jseabold committed Jan 26, 2014
2 parents 8d7df1a + f01fa2e commit a0fc6d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions statsmodels/datasets/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,7 @@ def _get_data(base_url, dataname, cache, extension="csv"):
else:
raise err

#Python 3, always decode as unicode
if sys.version[0] == '3': # pragma: no cover
data = data.decode('utf-8', errors='strict')
data = data.decode('utf-8', errors='strict')
return StringIO(data), from_cache


Expand Down

0 comments on commit a0fc6d1

Please sign in to comment.