File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -636,13 +636,13 @@ def test_env(self):
636636 def test_empty_env (self ):
637637 """Verify that env={} is as empty as possible."""
638638
639- def is_env_var_to_ignore (var_name ):
639+ def is_env_var_to_ignore (n ):
640640 """Determine if an environment variable is under our control."""
641641 # This excludes some __CF_* and VERSIONER_* keys MacOS insists
642642 # on adding even when the environment in exec is empty.
643643 # Gentoo sandboxes also force LD_PRELOAD and SANDBOX_* to exist.
644- return ('VERSIONER' in k or '__CF' in k or # MacOS
645- k == 'LD_PRELOAD' or k .startswith ('SANDBOX' )) # Gentoo
644+ return ('VERSIONER' in n or '__CF' in n or # MacOS
645+ n == 'LD_PRELOAD' or n .startswith ('SANDBOX' )) # Gentoo
646646
647647 with subprocess .Popen ([sys .executable , "-c" ,
648648 'import os; print(list(os.environ.keys()))' ],
You can’t perform that action at this time.
0 commit comments