Skip to content

Commit d1eebfe

Browse files
dnicolodirgommers
authored andcommitted
MAINT: fix linter warning
Which revealed that a test wads not updated when the implementation stopped to invoke 'meson install' to construct a Python wheel.
1 parent 4b286f2 commit d1eebfe

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎tests/test_project.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ def wrapper(self, cmd):
204204
'dist-args': ('cli-dist',),
205205
'setup-args': ('cli-setup',),
206206
'compile-args': ('cli-compile',),
207-
'install-args': ('--skip-subprojects=cli',),
208207
}
209208

210209
with in_git_repo_context():
@@ -228,12 +227,11 @@ def wrapper(self, cmd):
228227
# sdist: calls to 'meson setup' and 'meson dist'
229228
{'config-setup', 'cli-setup'},
230229
{'config-dist', 'cli-dist'},
231-
# wheel: calls to 'meson setup', 'meson compile', and 'meson install'
230+
# wheel: calls to 'meson setup' and 'meson compile'
232231
{'config-setup', 'cli-setup'},
233232
{'config-compile', 'cli-compile'},
234-
{'--skip-subprojects=config', '--skip-subprojects=cli'},
235233
]
236-
for expected_args, cmd_args in zip(expected, args):
234+
for expected_args, cmd_args in zip(expected, args, strict=True):
237235
assert expected_args.issubset(cmd_args)
238236

239237

0 commit comments

Comments
 (0)