Remove test file runnability
Historically our test files have been runnable as independent Python scripts e.g. python test_pp_cf.py. We even customise the help message e.g. python test_pp_cf.py --help.
This relies on the block below, plus the inclusion of if __name__ == "__main__": tests.main() in every test file.
https://github.com/SciTools/iris/blob/c6151e819189ca213b370ddf4ff38d8511c7e012/lib/iris/tests/init.py#L91-L135
Now we are using PyTest I often do not import the tests module, and I have not bothered making my files runnable since they are intended to be run via PyTest e.g. pytest test_pp_cf.py.
I think we should remove the runnability from our tests, and if those extra command line options are important then we should explore how they can be offered via PyTest configurability instead. Happy to discuss.
This would be consistent with the decision in cf-units to remove the ifmains: https://github.com/SciTools/cf-units/pull/245
It makes sense to me.