summaryrefslogtreecommitdiff
path: root/test/MSVS
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-09-22 20:29:53 +0000
committerSteven Knight <knight@baldmt.com>2008-09-22 20:29:53 +0000
commitf33d714b36bae9ab6e8474736d54dc2b2297ce5c (patch)
tree9a20c0e3d5e0a033774b014cc94531aa4a0dd8ec /test/MSVS
parent79a6189168ec15d2469f4cca7f3a542efd2aec5c (diff)
downloadscons-f33d714b36bae9ab6e8474736d54dc2b2297ce5c.tar.gz
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/MSVS')
-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 f00de517..9f51c8ce 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 8c9821c8..e1f90106 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 40daa57f..0664d234 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