run_unittests: mock meson global before changing

For safety
pull/8883/head
Dylan Baker 4 years ago
parent bc6df45663
commit 6490b13f22
  1. 1
      run_unittests.py

@ -1599,6 +1599,7 @@ class InternalTests(unittest.TestCase):
_(None, mock.Mock(), [], {'input': ['a']})
self.assertEqual(str(cm.exception), "testfunc keyword argument \"input\" container should be of even length, but is not")
@mock.patch.dict(mesonbuild.mesonlib.project_meson_versions, {})
def test_typed_kwarg_since(self) -> None:
@typed_kwargs(
'testfunc',

Loading…
Cancel
Save