Closed remyroy closed 4 weeks ago
The Github diff is harder to read than necessary but the gist of this PR is to remove all the custom test directory setup and clean up in tests and replace it with the TemporaryDirectory from the tempfile module. It uses the context manager for automatic clean up. It helps prevent the races on macOS by using a different temporary directory each time.
It seems like there is still some unexpected issues on macOS 12 and Python 3.9 on https://github.com/remyroy/ethstaker-deposit-cli/actions/runs/9484868682/job/26135419117
This should help fix #62 .