summaryrefslogtreecommitdiffstats
path: root/src/engine
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 /src/engine
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 'src/engine')
-rw-r--r--src/engine/SCons/Node/FSTests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/SCons/Node/FSTests.py b/src/engine/SCons/Node/FSTests.py
index 99f26c2..72eaba7 100644
--- a/src/engine/SCons/Node/FSTests.py
+++ b/src/engine/SCons/Node/FSTests.py
@@ -451,7 +451,9 @@ class VariantDirTestCase(unittest.TestCase):
# Test against a former bug. Make sure we can get a repository
# path for the variant directory itself!
fs = SCons.Node.FS.FS(test.workpath('work'))
- test.subdir('work')
+
+ # not needed this subdir is created above near line 188
+ # test.subdir('work')
fs.VariantDir('build/var3', 'src', duplicate=0)
d1 = fs.Dir('build/var3')
r = d1.rdir()