Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/1261.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update a few links in code comments.
2 changes: 1 addition & 1 deletion src/xdist/newhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/xdist/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down