diff options
author | Adam Gross <grossag@vmware.com> | 2019-12-12 13:06:20 (GMT) |
---|---|---|
committer | Adam Gross <grossag@vmware.com> | 2019-12-12 13:07:17 (GMT) |
commit | 4463d8629c5945d8973818a32be55334617e0d6c (patch) | |
tree | 32ae40fe003723b6d6e87d22fa93de0cbff60612 /src | |
parent | 516ba7c177f5aa179419c46e386ad30206a43759 (diff) | |
download | SCons-4463d8629c5945d8973818a32be55334617e0d6c.zip SCons-4463d8629c5945d8973818a32be55334617e0d6c.tar.gz SCons-4463d8629c5945d8973818a32be55334617e0d6c.tar.bz2 |
Address PR feedback
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/Node/PythonTests.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/engine/SCons/Node/PythonTests.py b/src/engine/SCons/Node/PythonTests.py index e05cfc9..e1aa58b 100644 --- a/src/engine/SCons/Node/PythonTests.py +++ b/src/engine/SCons/Node/PythonTests.py @@ -113,7 +113,7 @@ class ValueBuildInfoTestCase(unittest.TestCase): class ValueMemoTestCase(unittest.TestCase): - def test___init__(self): + def test_memo(self): """Test memoization""" # First confirm that ValueWithMemo does memoization. value1 = SCons.Node.Python.ValueWithMemo('vvv') @@ -126,9 +126,7 @@ class ValueMemoTestCase(unittest.TestCase): value3 = ni.str_to_node('vvv') assert value1 is value3 - -class BuiltValueNoMemoTestCase(unittest.TestCase): - def test___init__(self): + def test_built_value(self): """Confirm that built values are not memoized.""" v1 = SCons.Node.Python.Value('c', 'ca') v2 = SCons.Node.Python.Value('c', 'ca') |