diff --git a/tests/test-lfs-pointer.py b/tests/test-lfs-pointer.py --- a/tests/test-lfs-pointer.py +++ b/tests/test-lfs-pointer.py @@ -3,9 +3,6 @@ import os import sys -# make it runnable using python directly without run-tests.py -sys.path[0:0] = [os.path.join(os.path.dirname(__file__), '..')] - # Import something from Mercurial, so the module loader gets initialized. from mercurial import pycompat del pycompat # unused for now diff --git a/tests/test-minifileset.py b/tests/test-minifileset.py --- a/tests/test-minifileset.py +++ b/tests/test-minifileset.py @@ -4,9 +4,6 @@ import os import sys -# make it runnable directly without run-tests.py -sys.path[0:0] = [os.path.join(os.path.dirname(__file__), '..')] - from mercurial import minifileset def check(text, truecases, falsecases):