diff options
author | William Deegan <bill@baddogconsulting.com> | 2023-05-03 18:29:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 18:29:26 -0700 |
commit | 239f437b463dc948690473830f1816e9a67b72c2 (patch) | |
tree | 203b499babac9dbed56afbd1e1eea548ac1b9932 /SCons/Tool/MSCommon/MSVC/DispatcherTests.py | |
parent | 6ce33bdadec1cf558a6d0df27a6a083516d6cf23 (diff) | |
parent | 5717e06c245d99923f5c4a6e786a564799871c49 (diff) | |
download | scons-git-239f437b463dc948690473830f1816e9a67b72c2.tar.gz |
Merge branch 'master' into maint/validateOptions
Diffstat (limited to 'SCons/Tool/MSCommon/MSVC/DispatcherTests.py')
-rw-r--r-- | SCons/Tool/MSCommon/MSVC/DispatcherTests.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/SCons/Tool/MSCommon/MSVC/DispatcherTests.py b/SCons/Tool/MSCommon/MSVC/DispatcherTests.py index d6af8d464..61ea3f12f 100644 --- a/SCons/Tool/MSCommon/MSVC/DispatcherTests.py +++ b/SCons/Tool/MSCommon/MSVC/DispatcherTests.py @@ -46,37 +46,37 @@ verify = None class StaticMethods: @staticmethod - def _reset(): + def _reset() -> None: Data.reset_count += 1 @staticmethod - def reset(): + def reset() -> None: Data.reset_count += 1 @staticmethod - def _verify(): + def _verify() -> None: Data.verify_count += 1 @staticmethod - def verify(): + def verify() -> None: Data.verify_count += 1 class ClassMethods: @classmethod - def _reset(cls): + def _reset(cls) -> None: Data.reset_count += 1 @classmethod - def reset(cls): + def reset(cls) -> None: Data.reset_count += 1 @classmethod - def _verify(cls): + def _verify(cls) -> None: Data.verify_count += 1 @classmethod - def verify(cls): + def verify(cls) -> None: Data.verify_count += 1 @@ -94,22 +94,22 @@ MSVC.Dispatcher.register_class(NotCallable) class DispatcherTests(unittest.TestCase): - def test_dispatcher_reset(self): + def test_dispatcher_reset(self) -> None: MSVC.Dispatcher.reset() self.assertTrue(Data.reset_count == 4, "MSVC.Dispatcher.reset() count failed") Data.reset_count = 0 - def test_dispatcher_verify(self): + def test_dispatcher_verify(self) -> None: MSVC.Dispatcher.verify() self.assertTrue(Data.verify_count == 4, "MSVC.Dispatcher.verify() count failed") Data.verify_count = 0 - def test_msvc_reset(self): + def test_msvc_reset(self) -> None: MSVC._reset() self.assertTrue(Data.reset_count == 4, "MSVC._reset() count failed") Data.reset_count = 0 - def test_msvc_verify(self): + def test_msvc_verify(self) -> None: MSVC._verify() self.assertTrue(Data.verify_count == 4, "MSVC._verify() count failed") Data.verify_count = 0 |