meson_command_tests: Don't pass pathlib.Path to open [skip appveyor]

Closes https://github.com/mesonbuild/meson/issues/4047
pull/4050/head
Nirbheek Chauhan 6 years ago committed by Jussi Pakkanen
parent 6ecd31af19
commit 8277d94e24
  1. 2
      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']

Loading…
Cancel
Save