Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cssselect/xpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def css_to_xpath(self, css, prefix='descendant-or-self::'):
This string is prepended to the XPath expression for each selector.
The default makes selectors scoped to the context node’s subtree.
:raises:
:class:`SelectorSyntaxError` on invalid selectors,
:class:`~cssselect.SelectorSyntaxError` on invalid selectors,
:class:`ExpressionError` on unknown/unsupported selectors,
including pseudo-elements.
:returns:
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
codecov
lxml;python_version!="3.4"
lxml<=4.3.5;python_version=="3.4"
pytest
pytest >=4.6, <4.7 # 4.7 drops support for Python 2.7 and 3.4
pytest-cov