Skip to content

Commit

Permalink
TST: adapt to "dependencies" possibly being a dynamic field
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolodi committed Mar 4, 2023
1 parent 6e2b951 commit 03992fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/packages/unsupported-dynamic/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ requires = ['meson-python']
name = 'unsupported-dynamic'
version = '1.0.0'
dynamic = [
'dependencies',
'requires-python',
]
2 changes: 1 addition & 1 deletion tests/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_version(package):


def test_unsupported_dynamic(package_unsupported_dynamic):
with pytest.raises(mesonpy.ConfigError, match='unsupported dynamic metadata fields: "dependencies"'):
with pytest.raises(mesonpy.ConfigError, match='unsupported dynamic metadata fields: "requires-python"'):
with mesonpy.Project.with_temp_working_dir():
pass

Expand Down

0 comments on commit 03992fe

Please sign in to comment.