JamesHutchison / pytest-hot-reloading

A hot reloading pytest daemon, implemented as a plugin
MIT License
89 stars 2 forks source link

Fix issue where profiling was failing due to forced exit #25

Closed JamesHutchison closed 1 year ago

JamesHutchison commented 1 year ago

When running the test logic through cProfile, nothing gets output because of the forced exit. We can use a return 0 now to signal an early exit.