--- a/tests/run-tests.py Thu Jan 02 16:22:14 2025 +0100
+++ b/tests/run-tests.py Thu Jan 02 14:52:23 2025 +0100
@@ -3398,7 +3398,7 @@
# can run .../tests/run-tests.py test-foo where test-foo
# adds an extension to HGRC. Also include run-test.py directory to
# import modules like heredoctest.
- pypath = [self._pythondir, self._testdir, RUNTEST_DIR]
+ pypath = [self._pythondir, self._testdir]
# Setting PYTHONPATH with an activated venv causes the modules installed
# in it to be ignored. Therefore, include the related paths in sys.path