diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2024-12-06 12:53:45 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-10-20 15:15:53 -0700 |
| commit | 820c7e36b1aa2390fe83a2c4b48b7e8647597c45 (patch) | |
| tree | ae7c8d3fd776add77d9b3152b47d183c4eeb9058 /unittests | |
| parent | b7be98f15324d8d51ab82ff35d926b7ece06c34a (diff) | |
| download | meson-820c7e36b1aa2390fe83a2c4b48b7e8647597c45.tar.gz | |
interpreter: port dependency modules to typed_kwargs
Diffstat (limited to 'unittests')
| -rw-r--r-- | unittests/failuretests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/failuretests.py b/unittests/failuretests.py index 360b0e774..426ab993f 100644 --- a/unittests/failuretests.py +++ b/unittests/failuretests.py @@ -206,7 +206,7 @@ class FailureTests(BasePlatformTests): if not shutil.which('wx-config-3.0') and not shutil.which('wx-config') and not shutil.which('wx-config-gtk3'): raise unittest.SkipTest('Neither wx-config, wx-config-3.0 nor wx-config-gtk3 found') self.assertMesonRaises("dependency('wxwidgets', modules : 1)", - "module argument is not a string") + r"dependency keyword argument 'modules' was of type array\[int\] but should have been array\[str\]") def test_llvm_dependency(self): self.assertMesonRaises("dependency('llvm', modules : 'fail')", @@ -215,7 +215,7 @@ class FailureTests(BasePlatformTests): def test_boost_notfound_dependency(self): # Can be run even if Boost is found or not self.assertMesonRaises("dependency('boost', modules : 1)", - "module.*not a string") + r"dependency keyword argument 'modules' was of type array\[int\] but should have been array\[str\]") self.assertMesonRaises("dependency('boost', modules : 'fail')", f"(fail.*not found|{self.dnf})") |
