summaryrefslogtreecommitdiff
path: root/SCons/ErrorsTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'SCons/ErrorsTests.py')
-rw-r--r--SCons/ErrorsTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/SCons/ErrorsTests.py b/SCons/ErrorsTests.py
index 9f2f1a280..9743f0db3 100644
--- a/SCons/ErrorsTests.py
+++ b/SCons/ErrorsTests.py
@@ -95,7 +95,7 @@ class ErrorsTestCase(unittest.TestCase):
except SCons.Errors.ExplicitExit as e:
assert e.node == "node"
- def test_convert_EnvironmentError_to_BuildError(self):
+ def test_convert_EnvironmentError_to_BuildError(self) -> None:
"""Test the convert_to_BuildError function on SConsEnvironmentError
exceptions.
"""
@@ -106,7 +106,7 @@ class ErrorsTestCase(unittest.TestCase):
assert be.exitstatus == 2
assert be.filename is None
- def test_convert_OSError_to_BuildError(self):
+ def test_convert_OSError_to_BuildError(self) -> None:
"""Test the convert_to_BuildError function on OSError
exceptions.
"""