Skip to content

Commit cf576e2

Browse files
committed
Add tests for Dynamic core metadata for pyproject.toml
1 parent 0adaa83 commit cf576e2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

setuptools/tests/test_core_metadata.py

+14
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,20 @@ class TestPEP643:
429429
install_requires = requests
430430
"""
431431
),
432+
"pyproject.toml": cleandoc(
433+
"""
434+
[project]
435+
name = "package"
436+
version = "0.0.1"
437+
authors = [
438+
{name = "Foo Bar", email = "[email protected]"}
439+
]
440+
description = "Short description"
441+
readme = {text = "Long\\ndescription", content-type = "text/plain"}
442+
keywords = ["one", "two"]
443+
dependencies = ["requests"]
444+
"""
445+
),
432446
}
433447

434448
@pytest.mark.parametrize("file", STATIC_CONFIG.keys())

0 commit comments

Comments
 (0)