diff options
| author | L. E. Segovia <amy@amyspark.me> | 2025-08-15 15:11:13 +0000 |
|---|---|---|
| committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-09-06 16:58:56 +0300 |
| commit | 6174a49522cb3d7b9f925d96ca68c390cb833594 (patch) | |
| tree | 9a8a6fec81c50aa42de198196dfe760513c36ef8 | |
| parent | c3ea8d5aa1b48fbc4137ef783c567a32cd596993 (diff) | |
| download | meson-6174a49522cb3d7b9f925d96ca68c390cb833594.tar.gz | |
tests: Fix shutil.which shim signature not accepting kwargs
| -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 18d0c5e70..26f72e4af 100644 --- a/unittests/failuretests.py +++ b/unittests/failuretests.py @@ -41,10 +41,10 @@ def no_pkgconfig(): return [None] return old_search(self, name, search_dirs, exclude_paths) - def new_which(cmd, *kwargs): + def new_which(cmd, **kwargs): if cmd == 'pkg-config': return None - return old_which(cmd, *kwargs) + return old_which(cmd, **kwargs) shutil.which = new_which ExternalProgram._search = new_search |
