https://mysteryweevil.medium.com/mastering-i-o-heavy-python-a-practical-guide-to-efficient-testing-bb63e48daf2f