aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authortarek <none@none>2009-07-23 12:41:43 +0200
committertarek <none@none>2009-07-23 12:41:43 +0200
commitb39058a69286b47b7ec63b1be4d50c225f1d30d1 (patch)
treee298ac2d70ed4b84570127df14981ba7419ab3f7 /tests
parent8e59ae90b1dcfb8cab7255509b2d13bfc96a516e (diff)
downloadexternal_python_setuptools-b39058a69286b47b7ec63b1be4d50c225f1d30d1.tar.gz
external_python_setuptools-b39058a69286b47b7ec63b1be4d50c225f1d30d1.tar.bz2
external_python_setuptools-b39058a69286b47b7ec63b1be4d50c225f1d30d1.zip
shorcut to avoid unecessary work when located in a non-isolated environment
--HG-- branch : distribute extra : rebase_source : 6b093a48e2647923cf36d1dd7ea74def0a961dc6
Diffstat (limited to 'tests')
-rw-r--r--tests/install_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/install_test.py b/tests/install_test.py
index 52a46c00..56ab13cc 100644
--- a/tests/install_test.py
+++ b/tests/install_test.py
@@ -64,6 +64,7 @@ try:
else:
print '**** Test failed, please send me the output at tarek@ziade.org'
finally:
- os.remove(script_name)
+ if os.path.exists(script_name):
+ os.remove(script_name)
os.remove('bootstrap.py')