aboutsummaryrefslogtreecommitdiff
path: root/run_meson_command_tests.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-08-18 20:57:22 +0530
committerJussi Pakkanen <jpakkane@gmail.com>2018-08-18 19:13:15 +0300
commit8277d94e24d4382d49289c07ef20ea78d95443e1 (patch)
tree7107479a3552d0ee3085153b8218eea1e624faab /run_meson_command_tests.py
parent6ecd31af19dc537983311796929a9dd690632999 (diff)
downloadmeson-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-xrun_meson_command_tests.py2
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']