Skip to content

Commit 8277d94

Browse files
nirbheekjpakkane
authored andcommitted
meson_command_tests: Don't pass pathlib.Path to open [skip appveyor]
Closes mesonbuild#4047
1 parent 6ecd31a commit 8277d94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run_meson_command_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def test_meson_installed(self):
176176
builddir = str(self.tmpdir / 'build4')
177177
(bindir / 'meson').rename(bindir / 'meson.real')
178178
wrapper = (bindir / 'meson')
179-
with open(wrapper, 'w') as f:
179+
with open(str(wrapper), 'w') as f:
180180
f.write('#!/bin/sh\n\nmeson.real "$@"')
181181
wrapper.chmod(0o755)
182182
meson_setup = [str(wrapper), 'setup']

0 commit comments

Comments
 (0)