summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-09-22 20:29:53 (GMT)
committerSteven Knight <knight@baldmt.com>2008-09-22 20:29:53 (GMT)
commit8819b7a69753e5f8077c41176947c0760ebdc53b (patch)
tree9a20c0e3d5e0a033774b014cc94531aa4a0dd8ec /test
parent1ae277fe2613da89e489134240a2cd3658363f1e (diff)
downloadSCons-8819b7a69753e5f8077c41176947c0760ebdc53b.zip
SCons-8819b7a69753e5f8077c41176947c0760ebdc53b.tar.gz
SCons-8819b7a69753e5f8077c41176947c0760ebdc53b.tar.bz2
Fix for Windows that doesn't break other systems: delete the
PYTHON_ROOT environment variable instead of nulling it out. (Bill Deegan)
Diffstat (limited to 'test')
-rw-r--r--test/MSVS/vs-7.0-files.py2
-rw-r--r--test/MSVS/vs-7.1-files.py2
-rw-r--r--test/MSVS/vs-8.0-files.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/MSVS/vs-7.0-files.py b/test/MSVS/vs-7.0-files.py
index f00de51..9f51c8c 100644
--- a/test/MSVS/vs-7.0-files.py
+++ b/test/MSVS/vs-7.0-files.py
@@ -214,7 +214,7 @@ expect = test.msvs_substitute(expected_vcprojfile, '7.0', 'work1', 'SConstruct',
# don't compare the pickled data
assert vcproj[:len(expect)] == expect, test.diff_substr(expect, vcproj)
-os.environ['PYTHON_ROOT'] = ''
+del os.environ['PYTHON_ROOT']
python = None
diff --git a/test/MSVS/vs-7.1-files.py b/test/MSVS/vs-7.1-files.py
index 8c9821c..e1f9010 100644
--- a/test/MSVS/vs-7.1-files.py
+++ b/test/MSVS/vs-7.1-files.py
@@ -216,7 +216,7 @@ expect = test.msvs_substitute(expected_vcprojfile, '7.1', 'work1', 'SConstruct',
# don't compare the pickled data
assert vcproj[:len(expect)] == expect, test.diff_substr(expect, vcproj)
-os.environ['PYTHON_ROOT'] = ''
+del os.environ['PYTHON_ROOT']
python = None
diff --git a/test/MSVS/vs-8.0-files.py b/test/MSVS/vs-8.0-files.py
index 40daa57..0664d23 100644
--- a/test/MSVS/vs-8.0-files.py
+++ b/test/MSVS/vs-8.0-files.py
@@ -223,7 +223,7 @@ expect = test.msvs_substitute(expected_vcprojfile, '8.0', 'work1', 'SConstruct',
# don't compare the pickled data
assert vcproj[:len(expect)] == expect, test.diff_substr(expect, vcproj)
-os.environ['PYTHON_ROOT'] = ''
+del os.environ['PYTHON_ROOT']
python = None