The #hypothesis property-based testing library in Python is really a gem. It generates data for tests, so you can check function properties on a large distribution. It finds bug that are really hard to find otherwise, I can't count the number of times it saved me.
https://hypothesis.readthedocs.io/en/latest/
https://hypothesis.readthedocs.io/en/latest/