summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons
diff options
context:
space:
mode:
authorAdam Gross <grossag@vmware.com>2019-11-25 19:12:42 (GMT)
committerAdam Gross <grossag@vmware.com>2019-11-25 19:12:42 (GMT)
commit9ac3a25ea28dae718c095a7b1909c42b817ec9b8 (patch)
treed229ab86f511a78d1754a72fbc15df5b4eb99c02 /src/engine/SCons
parente76e874f44824172d1118b0f028256124332a101 (diff)
downloadSCons-9ac3a25ea28dae718c095a7b1909c42b817ec9b8.zip
SCons-9ac3a25ea28dae718c095a7b1909c42b817ec9b8.tar.gz
SCons-9ac3a25ea28dae718c095a7b1909c42b817ec9b8.tar.bz2
Avoid a flake8 warning where "contents" is unused
Diffstat (limited to 'src/engine/SCons')
-rw-r--r--src/engine/SCons/Node/PythonTests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/SCons/Node/PythonTests.py b/src/engine/SCons/Node/PythonTests.py
index 4c15e96..9d3c6b5 100644
--- a/src/engine/SCons/Node/PythonTests.py
+++ b/src/engine/SCons/Node/PythonTests.py
@@ -119,6 +119,7 @@ class ValueChildTestCase(unittest.TestCase):
node._func_get_contents = 2 # Pretend to be a Dir.
node.add_to_implicit([value])
contents = node.get_contents()
+ assert len(contents) > 0
if __name__ == "__main__":
unittest.main()