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/ConfigTests.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/ConfigTests.py')
-rw-r--r-- | SCons/Tool/MSCommon/MSVC/ConfigTests.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/SCons/Tool/MSCommon/MSVC/ConfigTests.py b/SCons/Tool/MSCommon/MSVC/ConfigTests.py index 89db6cda5..cbd811e45 100644 --- a/SCons/Tool/MSCommon/MSVC/ConfigTests.py +++ b/SCons/Tool/MSCommon/MSVC/ConfigTests.py @@ -44,7 +44,7 @@ class Patch: return hook @classmethod - def restore(cls): + def restore(cls) -> None: vc._VCVER = cls._VCVER class Config: @@ -58,13 +58,13 @@ class Patch: return hook @classmethod - def restore(cls): + def restore(cls) -> None: Config.MSVC_VERSION_INTERNAL = cls.MSVC_VERSION_INTERNAL class ConfigTests(unittest.TestCase): - def test_vcver(self): + def test_vcver(self) -> None: # all vc._VCVER in Config.MSVC_VERSION_SUFFIX _VCVER = Patch.vc._VCVER.enable_copy() _VCVER.append('99.9') @@ -72,7 +72,7 @@ class ConfigTests(unittest.TestCase): Config.verify() Patch.vc._VCVER.restore() - def test_msvc_version_internal(self): + def test_msvc_version_internal(self) -> None: # all vc._VCVER numstr in Config.MSVC_VERSION_INTERNAL MSVC_VERSION_INTERNAL = Patch.Config.MSVC_VERSION_INTERNAL.enable_copy() del MSVC_VERSION_INTERNAL['14.3'] @@ -80,7 +80,7 @@ class ConfigTests(unittest.TestCase): Config.verify() Patch.Config.MSVC_VERSION_INTERNAL.restore() - def test_verify(self): + def test_verify(self) -> None: Config.verify() |