Skip to content

Commit c62ba7d

Browse files
takluyvercdce8p
andauthored
Fix path passed to read_pep621_metadata in test
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
1 parent 06faa0b commit c62ba7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flit_core/tests_core/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def test_license_text(value, license):
194194
proj = {
195195
'name': 'module1', 'version': '1.0', 'description': 'x', 'license': value
196196
}
197-
info = config.read_pep621_metadata(proj, samples_dir / 'pep621')
197+
info = config.read_pep621_metadata(proj, samples_dir / 'pep621' / 'pyproject.toml')
198198
assert info.metadata['license'] == license
199199

200200
@pytest.mark.parametrize(('value', 'license_expression'), [

0 commit comments

Comments
 (0)