Show More
@@ -1106,6 +1106,12 b' class Test(unittest.TestCase):' | |||
|
1106 | 1106 | # IP addresses. |
|
1107 | 1107 | env['LOCALIP'] = _strpath(self._localip()) |
|
1108 | 1108 | |
|
1109 | # This has the same effect as Py_LegacyWindowsStdioFlag in exewrapper.c, | |
|
1110 | # but this is needed for testing python instances like dummyssh, | |
|
1111 | # dummysmtpd.py, and dumbhttp.py. | |
|
1112 | if PYTHON3 and os.name == 'nt': | |
|
1113 | env['PYTHONLEGACYWINDOWSSTDIO'] = '1' | |
|
1114 | ||
|
1109 | 1115 | # Reset some environment variables to well-known values so that |
|
1110 | 1116 | # the tests produce repeatable output. |
|
1111 | 1117 | env['LANG'] = env['LC_ALL'] = env['LANGUAGE'] = 'C' |
General Comments 0
You need to be logged in to leave comments.
Login now