Skip to content

Commit

Permalink
fix(tests): fresh_env() now resets new environment values
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertCraigie committed Jul 9, 2024
1 parent 287926e commit 64da888
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_module_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def fresh_env() -> Iterator[None]:
_os.environ.clear()
yield
finally:
_os.environ.clear()
_os.environ.update(old)


Expand Down

0 comments on commit 64da888

Please sign in to comment.