Show More
@@ -1110,9 +1110,23 b' class Test(unittest.TestCase):' | |||||
1110 | env['COLUMNS'] = '80' |
|
1110 | env['COLUMNS'] = '80' | |
1111 | env['TERM'] = 'xterm' |
|
1111 | env['TERM'] = 'xterm' | |
1112 |
|
1112 | |||
1113 | for k in ('HG HGPROF CDPATH GREP_OPTIONS http_proxy no_proxy ' + |
|
1113 | dropped = [ | |
1114 | 'HGPLAIN HGPLAINEXCEPT EDITOR VISUAL PAGER ' + |
|
1114 | 'CDPATH', | |
1115 |
|
|
1115 | 'CHGDEBUG', | |
|
1116 | 'EDITOR', | |||
|
1117 | 'GREP_OPTIONS', | |||
|
1118 | 'HG', | |||
|
1119 | 'HGPLAIN', | |||
|
1120 | 'HGPLAINEXCEPT', | |||
|
1121 | 'HGPROF', | |||
|
1122 | 'http_proxy', | |||
|
1123 | 'no_proxy', | |||
|
1124 | 'NO_PROXY', | |||
|
1125 | 'PAGER', | |||
|
1126 | 'VISUAL', | |||
|
1127 | ] | |||
|
1128 | ||||
|
1129 | for k in dropped: | |||
1116 | if k in env: |
|
1130 | if k in env: | |
1117 | del env[k] |
|
1131 | del env[k] | |
1118 |
|
1132 |
General Comments 0
You need to be logged in to leave comments.
Login now