[Python-Dev] "if __name__ == '__main__'" at the bottom of python unittest files

Antoine Pitrou solipsis at pitrou.net
Wed May 1 12:36:07 EDT 2019


On Wed, 1 May 2019 14:30:01 +0100
Chris Withers <chris at withers.org> wrote:
> 
> > Is it really that difficult to simply tell coverage to ignore them? I
> > thought someone had already pointed to a coveragerc file that let you
> > do this.  
> 
> It would be if the cpython repo had a coveragerc, but it does not.

Well, perhaps that could be added ;-)

Regards

Antoine.




More information about the Python-Dev mailing list