Skip to content

Commit bab600e

Browse files
committed
fix test for setuptools license
1 parent 1f40365 commit bab600e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/output/test_pyproject_writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def assert_content_match(pyproject_file):
3838
pyproject_file.description
3939
== "This is a test package for demonstration purposes."
4040
)
41-
assert pyproject_file.license == "MIT"
41+
assert pyproject_file.license == "MIT" or pyproject_file.license["text"] == "MIT"
4242
assert len(pyproject_file.authors) == 1
4343

4444
# assert for both formats

0 commit comments

Comments
 (0)