summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Variables/BoolVariableTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Variables/BoolVariableTests.py')
-rw-r--r--src/engine/SCons/Variables/BoolVariableTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Variables/BoolVariableTests.py b/src/engine/SCons/Variables/BoolVariableTests.py
index 88f64ed..8ffb079 100644
--- a/src/engine/SCons/Variables/BoolVariableTests.py
+++ b/src/engine/SCons/Variables/BoolVariableTests.py
@@ -39,8 +39,8 @@ class BoolVariableTestCase(unittest.TestCase):
assert o.key == 'test', o.key
assert o.help == 'test option help (yes|no)', o.help
assert o.default == 0, o.default
- assert not o.validator is None, o.validator
- assert not o.converter is None, o.converter
+ assert o.validator is not None, o.validator
+ assert o.converter is not None, o.converter
def test_converter(self):
"""Test the BoolVariable converter"""