tests/run-tests.py
changeset 52595 181af28757f9
parent 52594 b0ecab6773cf
child 52596 2dcca69e0d04
--- 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