diff options
author | William Deegan <bill@baddogconsulting.com> | 2019-05-29 16:44:31 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2019-05-30 03:48:17 (GMT) |
commit | c4ae2b2caaae3154bc150a381a21267116402553 (patch) | |
tree | 836b74c8a0a651b06821d4b63a643a1b1fc9c416 /src/engine | |
parent | d98d6cb5876b378dd4a57917f9e2b2408a90bbe6 (diff) | |
download | SCons-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.py | 4 |
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() |