Skip to content

Commit

Permalink
Fix Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lesteve committed Mar 5, 2024
1 parent 70e32ac commit 674f813
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_editable.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ def test_mesonpy_meta_finder(package_complex, tmp_path, make_finder):
mesonpy.Project(package_complex, tmp_path)

# point the meta finder to the build directory
finder = make_finder({'complex'}, os.fspath(tmp_path), ['ninja'])
build_cmd = ['meson', 'compile'] if sys.platform == 'win32' else ['ninja']
finder = make_finder({'complex'}, os.fspath(tmp_path), build_cmd)

# check repr
assert repr(finder) == f'MesonpyMetaFinder({str(tmp_path)!r})'
Expand Down

0 comments on commit 674f813

Please sign in to comment.