Skip to content

Commit

Permalink
mutability fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Jun 7, 2024
1 parent bdb9fd2 commit 6b6a901
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_pyproject_toml_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,9 @@ def test_34_package_dirs__multi_autoname__no_pypi(
],
},
"tool": {
**VANILLA_SEMANTIC_RELEASE_SUBSECTIONS, # see below
**copy.deepcopy( # copied so we can change it, see below
VANILLA_SEMANTIC_RELEASE_SUBSECTIONS
),
"setuptools": {
"package-data": {"*": ["py.typed"]},
"packages": {
Expand Down Expand Up @@ -731,7 +733,9 @@ def test_35_package_dirs__multi(directory: str, requests_mock: Any) -> None:
**PYPI_URLS_KEYVALS,
},
"tool": {
**VANILLA_SEMANTIC_RELEASE_SUBSECTIONS, # see below
**copy.deepcopy( # copied so we can change it, see below
VANILLA_SEMANTIC_RELEASE_SUBSECTIONS
),
"setuptools": {
"package-data": {"*": ["py.typed"]},
"packages": {
Expand Down

0 comments on commit 6b6a901

Please sign in to comment.