Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lack of cleanup for stateful tests #79

Merged
merged 1 commit into from
Jun 6, 2018

Conversation

davesque
Copy link
Contributor

@davesque davesque commented Jun 5, 2018

What was wrong?

Some stateful tests introduced in PR #76 did not cleanup after themselves.

How was it fixed?

Wrapped test code in try/finally blocks to automatically clean up state changes.

Cute Animal Picture

Cute animal picture

@davesque
Copy link
Contributor Author

davesque commented Jun 5, 2018

Fixes part of issues mentioned in #77

@davesque
Copy link
Contributor Author

davesque commented Jun 6, 2018

I've given this a sanity inspection to make sure I didn't do anything blatantly dumb and these changes are pretty straight forward so I'm just going to merge them.

@davesque davesque merged commit b61a36d into ethereum:master Jun 6, 2018
@davesque davesque deleted the try-finally branch June 6, 2018 01:19
pacrob added a commit to pacrob/eth-abi that referenced this pull request Apr 14, 2023
* repin flake8, bump tox to >=4.0.0 as that's where whitelist was deprecated, misc updates
pacrob added a commit to pacrob/eth-abi that referenced this pull request Dec 9, 2023
* repin flake8, bump tox to >=4.0.0 as that's where whitelist was deprecated, misc updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant