Skip to content

Commit b26932d

Browse files
authored
Fix class reference (#110)
1 parent eb40f21 commit b26932d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cssselect/xpath.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def css_to_xpath(self, css, prefix='descendant-or-self::'):
180180
This string is prepended to the XPath expression for each selector.
181181
The default makes selectors scoped to the context node’s subtree.
182182
:raises:
183-
:class:`SelectorSyntaxError` on invalid selectors,
183+
:class:`~cssselect.SelectorSyntaxError` on invalid selectors,
184184
:class:`ExpressionError` on unknown/unsupported selectors,
185185
including pseudo-elements.
186186
:returns:

tests/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
codecov
22
lxml;python_version!="3.4"
33
lxml<=4.3.5;python_version=="3.4"
4-
pytest
4+
pytest >=4.6, <4.7 # 4.7 drops support for Python 2.7 and 3.4
55
pytest-cov

0 commit comments

Comments
 (0)