Show More
@@ -1335,6 +1335,9 b' class Test(unittest.TestCase):' | |||
|
1335 | 1335 | env['TESTTMP'] = _bytes2sys(self._testtmp) |
|
1336 | 1336 | env['TESTNAME'] = self.name |
|
1337 | 1337 | env['HOME'] = _bytes2sys(self._testtmp) |
|
1338 | if os.name == 'nt': | |
|
1339 | # py3.8+ ignores HOME: https://bugs.python.org/issue36264 | |
|
1340 | env['USERPROFILE'] = env['HOME'] | |
|
1338 | 1341 | formated_timeout = _bytes2sys(b"%d" % default_defaults['timeout'][1]) |
|
1339 | 1342 | env['HGTEST_TIMEOUT_DEFAULT'] = formated_timeout |
|
1340 | 1343 | env['HGTEST_TIMEOUT'] = _bytes2sys(b"%d" % self._timeout) |
General Comments 0
You need to be logged in to leave comments.
Login now