summaryrefslogtreecommitdiff
path: root/SCons/Variables/BoolVariableTests.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2023-05-03 20:41:15 -0700
committerGitHub <noreply@github.com>2023-05-03 20:41:15 -0700
commit4997bbda807ebdbcd11b1282981c3abb81dd8ee1 (patch)
tree6199e98610c76c39efe59a4dc6e91d31e5a13e96 /SCons/Variables/BoolVariableTests.py
parent4c835c49219361b08f03b71d1f944e2e74f23545 (diff)
parent84859d565216af998f817e05d0696f3423bb7216 (diff)
downloadscons-git-4997bbda807ebdbcd11b1282981c3abb81dd8ee1.tar.gz
Merge branch 'master' into bug/msys-python
Diffstat (limited to 'SCons/Variables/BoolVariableTests.py')
-rw-r--r--SCons/Variables/BoolVariableTests.py6
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))