Show More
@@ -165,6 +165,7 b' def _bytes2sys(p):' | |||
|
165 | 165 | return p.decode('utf-8') |
|
166 | 166 | |
|
167 | 167 | |
|
168 | original_env = os.environ.copy() | |
|
168 | 169 | osenvironb = getattr(os, 'environb', None) |
|
169 | 170 | if osenvironb is None: |
|
170 | 171 | # Windows lacks os.environb, for instance. A proxy over the real thing |
@@ -3763,7 +3764,7 b' class TestRunner:' | |||
|
3763 | 3764 | makedirs(self._bindir) |
|
3764 | 3765 | |
|
3765 | 3766 | vlog("# Running", cmd.decode("utf-8")) |
|
3766 | if subprocess.call(_bytes2sys(cmd), shell=True) == 0: | |
|
3767 | if subprocess.call(_bytes2sys(cmd), shell=True, env=original_env) == 0: | |
|
3767 | 3768 | if not self.options.verbose: |
|
3768 | 3769 | try: |
|
3769 | 3770 | os.remove(installerrs) |
General Comments 0
You need to be logged in to leave comments.
Login now