Author: Michael R. Crusoe Description: use locally packaged Python3 docs for the tests Forwarded: not-needed --- sphinx-autodoc-typehints.orig/tests/conftest.py +++ sphinx-autodoc-typehints/tests/conftest.py @@ -25,7 +25,7 @@ if inv_dict is not None: return Inventory(inv_dict) - url = f"https://docs.python.org/{sys.version_info.major}.{sys.version_info.minor}/objects.inv" + url = "file:///usr/share/doc/python3/html/objects.inv" inv = Inventory(url=url) pytestconfig.cache.set(cache_path, inv.json_dict()) return inv