diff options
author | Greg Noel <GregNoel@tigris.org> | 2009-05-03 06:24:01 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2009-05-03 06:24:01 (GMT) |
commit | ff74e256dccabac534aa952431063a23dfae9ac2 (patch) | |
tree | e50f626c5c42ff28c3cd21ab63f167627d08d7d4 /src/engine/SCons/Variables/VariablesTests.py | |
parent | 940ba4016c26bc49bdcb4e48bdd6b8b541e2aa1f (diff) | |
download | SCons-ff74e256dccabac534aa952431063a23dfae9ac2.zip SCons-ff74e256dccabac534aa952431063a23dfae9ac2.tar.gz SCons-ff74e256dccabac534aa952431063a23dfae9ac2.tar.bz2 |
Issue 2401: Fix usage of comparison with None, patch from Jared Grubb
Diffstat (limited to 'src/engine/SCons/Variables/VariablesTests.py')
-rw-r--r-- | src/engine/SCons/Variables/VariablesTests.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/engine/SCons/Variables/VariablesTests.py b/src/engine/SCons/Variables/VariablesTests.py index 69ef9fe..493d69f 100644 --- a/src/engine/SCons/Variables/VariablesTests.py +++ b/src/engine/SCons/Variables/VariablesTests.py @@ -85,9 +85,9 @@ class VariablesTestCase(unittest.TestCase): o = opts.options[0] assert o.key == 'VAR' assert o.help == '' - assert o.default == None - assert o.validator == None - assert o.converter == None + assert o.default is None + assert o.validator is None + assert o.converter is None o = opts.options[1] assert o.key == 'ANSWER' @@ -120,9 +120,9 @@ class VariablesTestCase(unittest.TestCase): o = opts.options[0] assert o.key == 'VAR2', o.key assert o.help == '', o.help - assert o.default == None, o.default - assert o.validator == None, o.validator - assert o.converter == None, o.converter + assert o.default is None, o.default + assert o.validator is None, o.validator + assert o.converter is None, o.converter o = opts.options[1] assert o.key == 'ANSWER2', o.key |