diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-03-03 14:41:19 -0800 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2025-03-05 18:06:11 +0200 |
| commit | fbed6e9bd6569b98a9dcdfccf4ae72d0c791111a (patch) | |
| tree | 41665b9ac71cd2f14414e9aa9ce454e211aca21e /unittests/allplatformstests.py | |
| parent | f8c3f9e909e0743f6504b8878b71170154128fac (diff) | |
| download | meson-fbed6e9bd6569b98a9dcdfccf4ae72d0c791111a.tar.gz | |
unittests: use subtests for test_Builtin_options_documented
Diffstat (limited to 'unittests/allplatformstests.py')
| -rw-r--r-- | unittests/allplatformstests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py index 57aa6315d..1c5b7c588 100644 --- a/unittests/allplatformstests.py +++ b/unittests/allplatformstests.py @@ -334,7 +334,8 @@ class AllPlatformTests(BasePlatformTests): name = opt['name'] value = opt['value'] if name in expected[prefix]: - self.assertEqual(value, expected[prefix][name], f'For option {name} and prefix {prefix}.') + with self.subTest(prefix=prefix, option=name): + self.assertEqual(value, expected[prefix][name], f'For option {name} and prefix {prefix}.') self.wipe() def test_default_options_prefix_dependent_defaults(self): |
