diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-08-18 20:57:22 +0530 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-08-18 19:13:15 +0300 |
commit | 8277d94e24d4382d49289c07ef20ea78d95443e1 (patch) | |
tree | 7107479a3552d0ee3085153b8218eea1e624faab /run_meson_command_tests.py | |
parent | 6ecd31af19dc537983311796929a9dd690632999 (diff) | |
download | meson-8277d94e24d4382d49289c07ef20ea78d95443e1.zip meson-8277d94e24d4382d49289c07ef20ea78d95443e1.tar.gz meson-8277d94e24d4382d49289c07ef20ea78d95443e1.tar.bz2 |
meson_command_tests: Don't pass pathlib.Path to open [skip appveyor]
Closes https://github.com/mesonbuild/meson/issues/4047
Diffstat (limited to 'run_meson_command_tests.py')
-rwxr-xr-x | run_meson_command_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run_meson_command_tests.py b/run_meson_command_tests.py index 4a05b94..fd33856 100755 --- a/run_meson_command_tests.py +++ b/run_meson_command_tests.py @@ -176,7 +176,7 @@ class CommandTests(unittest.TestCase): builddir = str(self.tmpdir / 'build4') (bindir / 'meson').rename(bindir / 'meson.real') wrapper = (bindir / 'meson') - with open(wrapper, 'w') as f: + with open(str(wrapper), 'w') as f: f.write('#!/bin/sh\n\nmeson.real "$@"') wrapper.chmod(0o755) meson_setup = [str(wrapper), 'setup'] |