From 8277d94e24d4382d49289c07ef20ea78d95443e1 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sat, 18 Aug 2018 20:57:22 +0530 Subject: meson_command_tests: Don't pass pathlib.Path to open [skip appveyor] Closes https://github.com/mesonbuild/meson/issues/4047 --- run_meson_command_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run_meson_command_tests.py') 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'] -- cgit v1.1