| Index: testing/test_env.py
|
| diff --git a/testing/test_env.py b/testing/test_env.py
|
| index a65b34b52157045a817f054914c2b73609c2c381..ec98a11ce61e82670b1788a16a08f3b0c6f9e57e 100755
|
| --- a/testing/test_env.py
|
| +++ b/testing/test_env.py
|
| @@ -48,7 +48,8 @@ def enable_sandbox_if_required(env, verbose=False):
|
| print ' %s' % CHROME_SANDBOX_ENV
|
| # The variable should be removed from the environment, making
|
| # the variable empty silently disables the sandbox.
|
| - env.pop(CHROME_SANDBOX_ENV)
|
| + if env.get(CHROME_SANDBOX_ENV):
|
| + env.pop(CHROME_SANDBOX_ENV)
|
|
|
|
|
| def fix_python_path(cmd):
|
|
|