##// END OF EJS Templates
run-tests: avoid calculating _testdir again...
Martin von Zweigbergk -
r35195:779c6cf2 default
parent child Browse files
Show More
@@ -979,8 +979,7 b' class Test(unittest.TestCase):'
979 ]
979 ]
980 r.append((self._escapepath(self._testtmp), b'$TESTTMP'))
980 r.append((self._escapepath(self._testtmp), b'$TESTTMP'))
981
981
982 testdir = os.path.dirname(self.path)
982 replacementfile = os.path.join(self._testdir, b'common-pattern.py')
983 replacementfile = os.path.join(testdir, b'common-pattern.py')
984
983
985 if os.path.exists(replacementfile):
984 if os.path.exists(replacementfile):
986 data = {}
985 data = {}
General Comments 0
You need to be logged in to leave comments. Login now