diff options
author | William Deegan <bill@baddogconsulting.com> | 2023-05-03 20:41:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 20:41:15 -0700 |
commit | 4997bbda807ebdbcd11b1282981c3abb81dd8ee1 (patch) | |
tree | 6199e98610c76c39efe59a4dc6e91d31e5a13e96 /SCons/Variables/BoolVariableTests.py | |
parent | 4c835c49219361b08f03b71d1f944e2e74f23545 (diff) | |
parent | 84859d565216af998f817e05d0696f3423bb7216 (diff) | |
download | scons-git-4997bbda807ebdbcd11b1282981c3abb81dd8ee1.tar.gz |
Merge branch 'master' into bug/msys-python
Diffstat (limited to 'SCons/Variables/BoolVariableTests.py')
-rw-r--r-- | SCons/Variables/BoolVariableTests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SCons/Variables/BoolVariableTests.py b/SCons/Variables/BoolVariableTests.py index 868e7e085..9cf3ae137 100644 --- a/SCons/Variables/BoolVariableTests.py +++ b/SCons/Variables/BoolVariableTests.py @@ -27,7 +27,7 @@ import SCons.Errors import SCons.Variables class BoolVariableTestCase(unittest.TestCase): - def test_BoolVariable(self): + def test_BoolVariable(self) -> None: """Test BoolVariable creation""" opts = SCons.Variables.Variables() opts.Add(SCons.Variables.BoolVariable('test', 'test option help', False)) @@ -39,7 +39,7 @@ class BoolVariableTestCase(unittest.TestCase): assert o.validator is not None, o.validator assert o.converter is not None, o.converter - def test_converter(self): + def test_converter(self) -> None: """Test the BoolVariable converter""" opts = SCons.Variables.Variables() opts.Add(SCons.Variables.BoolVariable('test', 'test option help', False)) @@ -80,7 +80,7 @@ class BoolVariableTestCase(unittest.TestCase): caught = True assert caught, "did not catch expected ValueError for 'x'" - def test_validator(self): + def test_validator(self) -> None: """Test the BoolVariable validator""" opts = SCons.Variables.Variables() opts.Add(SCons.Variables.BoolVariable('test', 'test option help', False)) |