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():
2424 with pytest .raises (ValueError , match = "Documentation URL not found in data from PyPI." ):
2525 get_sphinx_doc_url ("slumber" )
2626
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. " ):
2828 get_sphinx_doc_url ("autodoc_pydantic" )
2929
3030 assert cache .clear (get_sphinx_doc_url )
@@ -37,7 +37,7 @@ def test_get_sphinx_doc_url():
3737 # Latest numpy's "Documentation" url doesn't point to Sphinx docs.
3838 with pytest .raises (
3939 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 ."
4141 ):
4242 get_sphinx_doc_url ("numpy" )
4343 else :
You can’t perform that action at this time.
0 commit comments