##// END OF EJS Templates
tests: do not change sys.path, it can break loading cext.parsers...
Joerg Sonnenberger -
r40134:8a08aefa default
parent child Browse files
Show More
@@ -1,11 +1,5 b''
1 from __future__ import absolute_import, print_function
1 from __future__ import absolute_import, print_function
2
2
3 import os
4 import sys
5
6 # make it runnable using python directly without run-tests.py
7 sys.path[0:0] = [os.path.join(os.path.dirname(__file__), '..')]
8
9 # Import something from Mercurial, so the module loader gets initialized.
3 # Import something from Mercurial, so the module loader gets initialized.
10 from mercurial import pycompat
4 from mercurial import pycompat
11 del pycompat # unused for now
5 del pycompat # unused for now
@@ -1,12 +1,6 b''
1 from __future__ import absolute_import
1 from __future__ import absolute_import
2 from __future__ import print_function
2 from __future__ import print_function
3
3
4 import os
5 import sys
6
7 # make it runnable directly without run-tests.py
8 sys.path[0:0] = [os.path.join(os.path.dirname(__file__), '..')]
9
10 from mercurial import minifileset
4 from mercurial import minifileset
11
5
12 def check(text, truecases, falsecases):
6 def check(text, truecases, falsecases):
General Comments 0
You need to be logged in to leave comments. Login now