File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def test_get_sphinx_doc_url():
24
24
with pytest .raises (ValueError , match = "Documentation URL not found in data from PyPI." ):
25
25
get_sphinx_doc_url ("slumber" )
26
26
27
- with pytest .raises (ValueError , match = "objects.inv not found at url .*: HTTP Status 404 " ):
27
+ with pytest .raises (ValueError , match = "Documentation URL not found in data from PyPI. " ):
28
28
get_sphinx_doc_url ("autodoc_pydantic" )
29
29
30
30
assert cache .clear (get_sphinx_doc_url )
@@ -37,7 +37,7 @@ def test_get_sphinx_doc_url():
37
37
# Latest numpy's "Documentation" url doesn't point to Sphinx docs.
38
38
with pytest .raises (
39
39
ValueError ,
40
- match = "objects.inv not found at url https://numpy.org/doc/objects.inv: HTTP Status 404 ."
40
+ match = "Documentation URL not found in data from PyPI ."
41
41
):
42
42
get_sphinx_doc_url ("numpy" )
43
43
else :
You can’t perform that action at this time.
0 commit comments