fix a small spelling error

This commit is contained in:
Mike Fährmann
2017-01-10 14:24:58 +01:00
parent 00074a71d7
commit 8780abcc77
2 changed files with 4 additions and 3 deletions

View File

@@ -7,4 +7,5 @@ python:
install:
- pip install -r requirements.txt
script:
- nosetests --verbose test
- if [[ $TRAVIS_PYTHON_VERSION != '3.3' ]]; then nosetests --ignore-files=test_extractors --verbose test; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then nosetests --verbose test; fi

View File

@@ -116,5 +116,5 @@ unquote = urllib.parse.unquote
try:
unescape = html.unescape
except AttributeError:
import html.parse
unescape = html.parse.HTMLParser().unescape
import html.parser
unescape = html.parser.HTMLParser().unescape