summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2019-05-29 16:44:31 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2019-05-30 03:48:17 (GMT)
commitc4ae2b2caaae3154bc150a381a21267116402553 (patch)
tree836b74c8a0a651b06821d4b63a643a1b1fc9c416 /testing
parentd98d6cb5876b378dd4a57917f9e2b2408a90bbe6 (diff)
downloadSCons-c4ae2b2caaae3154bc150a381a21267116402553.zip
SCons-c4ae2b2caaae3154bc150a381a21267116402553.tar.gz
SCons-c4ae2b2caaae3154bc150a381a21267116402553.tar.bz2
PY38: Resolve duplicate creation of 'work' subdir which yielded warnings. Also improve exception handling message in test.subdir()
Diffstat (limited to 'testing')
-rw-r--r--testing/framework/TestCmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/framework/TestCmd.py b/testing/framework/TestCmd.py
index 2d54d72..c8aa4ae 100644
--- a/testing/framework/TestCmd.py
+++ b/testing/framework/TestCmd.py
@@ -1633,7 +1633,7 @@ class TestCmd(object):
try:
os.mkdir(new)
except OSError as e:
- print("Got error :%s"%e)
+ print("Got error creating dir:%s :%s"%(sub,e))
pass
else:
count = count + 1