Skip to content

Commit 4aece96

Browse files
authored
fix: do not reassign os.environ (#43)
1 parent 90f56be commit 4aece96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/conftest.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,5 @@ def use_containers():
105105
def temporary_env_variables():
106106
old_env = os.environ.copy()
107107
yield
108-
os.environ = old_env
108+
os.environ.clear()
109+
os.environ.update(old_env)

0 commit comments

Comments
 (0)