We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7560389 commit 4a4c17cCopy full SHA for 4a4c17c
tests/test_core.py
@@ -57,5 +57,11 @@ def test_get_sphinx_doc_url_wrapping():
57
assert get_type_hints(get_sphinx_doc_url) == {"pypi_name": str, "return": str}
58
59
assert get_sphinx_doc_url.__defaults__ is None
60
- assert get_sphinx_doc_url.__doc__.startswith("\n Returns the URL to the given project's Sphinx documentation.")
+ if sys.version_info >= (3, 13):
61
+ start_string = "\nReturns the URL to the given project's Sphinx documentation."
62
+ else:
63
+ start_string = "\n Returns the URL to the given project's Sphinx documentation."
64
+
65
+ assert get_sphinx_doc_url.__doc__.startswith(start_string)
66
67
assert get_sphinx_doc_url.__wrapped__
0 commit comments