Skip to content

Commit

Permalink
test: wasnt prperly unsetting env
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Jan 28, 2025
1 parent f400a17 commit bf0ca81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/functional/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ def run_test(cls: Callable, attr: str, name: str, value: str, expected: Any = No
finally:
if before is not None:
os.environ[name] = before
else:
os.environ.pop(name, None)

# Test different config classes.
run_test(ApeConfig, "contracts_folder", "APE_CONTRACTS_FOLDER", "3465220869b2")
Expand Down

0 comments on commit bf0ca81

Please sign in to comment.