Skip to content

Commit b808440

Browse files
committed
Don't mutate original test param
1 parent 865622d commit b808440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def __init__(self):
225225
)
226226
monkeypatch.setattr(config, "transaction", transaction)
227227

228-
result = config.configure(settings=settings)
228+
result = config.configure(settings=settings.copy() if settings else None)
229229

230230
expected_settings = {
231231
"warehouse.env": environment,

0 commit comments

Comments
 (0)