aboutsummaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-12-06 15:12:40 -0800
committerEli Schwartz <eschwartz93@gmail.com>2022-01-18 17:53:29 -0500
commit574525673f6b00535f916d7230ef7e4a3d58bc2c (patch)
tree82b69366157436a31bb32816da9d25a988d75b86 /unittests
parent7641bfd0cee6daf320b98f7d1bf37e5b0c109a10 (diff)
downloadmeson-574525673f6b00535f916d7230ef7e4a3d58bc2c.zip
meson-574525673f6b00535f916d7230ef7e4a3d58bc2c.tar.gz
meson-574525673f6b00535f916d7230ef7e4a3d58bc2c.tar.bz2
interpreterobjects: use typed_* for configuration_data.set*
This removes the ability to use ConfigurationData as a dict, but restricting the inputs to `str | int | bool`. This may be a little too soon for this, and we may want to wait on that part, it's only bee 8 months since we started warning about this.
Diffstat (limited to 'unittests')
-rw-r--r--unittests/allplatformstests.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index e6c7922..51ca7a0 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -2306,7 +2306,6 @@ class AllPlatformTests(BasePlatformTests):
self.assertEqual(f.read().strip(), b'/* #undef FOO_BAR */')
with open(os.path.join(self.builddir, 'nosubst-nocopy2.txt'), 'rb') as f:
self.assertEqual(f.read().strip(), b'')
- self.assertRegex(out, r"DEPRECATION:.*\['array'\] is invalid.*dict")
def test_dirs(self):
with tempfile.TemporaryDirectory() as containing: