This patch improves the error message when you pass filenames to the
hypothesis write CLI, which takes the name of a module or function
(e.g. hypothesis write gzip or hypothesis write
package.some_function rather than hypothesis write script.py).
Thanks to Ed Rogers for implementing this as part of the SciPy 2022
sprints!
The canonical version of these notes (with links) is on readthedocs.