Skip to content

Commit 5ae39d4

Browse files
Merge pull request #701 from stanislavlevin/issue_700
test_pyproject_support: Make correct PEP621 project definition
2 parents ca3855b + 47bf9a3 commit 5ae39d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

testing/test_integration.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def wd(wd):
2121

2222

2323
def test_pyproject_support(tmpdir, monkeypatch):
24-
pytest.importorskip("toml")
24+
pytest.importorskip("tomli")
2525
monkeypatch.delenv("SETUPTOOLS_SCM_DEBUG")
2626
pkg = tmpdir.ensure("package", dir=42)
2727
pkg.join("pyproject.toml").write_text(
@@ -30,8 +30,10 @@ def test_pyproject_support(tmpdir, monkeypatch):
3030
[tool.setuptools_scm]
3131
fallback_version = "12.34"
3232
[project]
33+
name = "foo"
3334
description = "Factory ⸻ A code generator 🏭"
3435
authors = [{name = "Łukasz Langa"}]
36+
dynamic = ["version"]
3537
"""
3638
),
3739
encoding="utf-8",

0 commit comments

Comments
 (0)