From fbc06b27f1acdc4cf473c6edf9c6415994c88b68 Mon Sep 17 00:00:00 2001 From: Liam DeVoe Date: Wed, 22 Oct 2025 13:20:23 -0400 Subject: [PATCH] update a few links --- changelog/1261.trivial.rst | 1 + src/xdist/newhooks.py | 2 +- src/xdist/plugin.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelog/1261.trivial.rst diff --git a/changelog/1261.trivial.rst b/changelog/1261.trivial.rst new file mode 100644 index 00000000..b0cdb431 --- /dev/null +++ b/changelog/1261.trivial.rst @@ -0,0 +1 @@ +Update a few links in code comments. diff --git a/src/xdist/newhooks.py b/src/xdist/newhooks.py index 23275362..915c65eb 100644 --- a/src/xdist/newhooks.py +++ b/src/xdist/newhooks.py @@ -9,7 +9,7 @@ You can use this hooks just as you would use normal pytest hooks, but some care must be taken in plugins in case ``xdist`` is not installed. Please see: - http://pytest.org/en/latest/writing_plugins.html#optionally-using-hooks-from-3rd-party-plugins + https://pytest.org/en/latest/how-to/writing_hook_functions.html#optionally-using-hooks-from-3rd-party-plugins """ from __future__ import annotations diff --git a/src/xdist/plugin.py b/src/xdist/plugin.py index 0a07b712..2a3eb670 100644 --- a/src/xdist/plugin.py +++ b/src/xdist/plugin.py @@ -40,7 +40,7 @@ def cpu_count() -> int: except ImportError: if os.environ.get("TRAVIS") == "true": - # workaround https://bitbucket.org/pypy/pypy/issues/2375 + # workaround https://github.com/pypy/pypy/issues/2375 return 2 try: from os import cpu_count # type: ignore[assignment]