Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
encode invalid xpath with unicode_escape under PY2
The exception quotes an xpath string which may be unicode.
- Loading branch information
Showing
with
14 additions
and 9 deletions.
- +3 −1 scrapy/selector/unified.py
- +11 −8 scrapy/tests/test_selector.py