Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
错误信息如下:
/usr/bin/python2.7 /home/byhankswang/open-source-projects/tushare/test_unittest.py
Traceback (most recent call last):
File "/home/byhankswang/open-source-projects/tushare/test_unittest.py", line 64, in
df = dc.get_czce_daily(date="20170926", type="future")
File "/home/byhankswang/open-source-projects/tushare/tushare/futures/domestic.py", line 156, in get_czce_daily
if html.find(u'您的访问出错了') >= 0 or html.find('无期权每日行情交易记录') >= 0:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 0: ordinal not in range(128)
Process finished with exit code 1