[py-dev] [hpk42/pytest] Test functions with leading underscores ignored (issue #177)

Anonymous issues-reply at bitbucket.org
Tue Aug 14 17:10:45 CEST 2012


--- you can reply above this line ---

New issue 177: Test functions with leading underscores ignored
https://bitbucket.org/hpk42/pytest/issue/177/test-functions-with-leading-underscores

Anonymous:

Why does _pytest/python.py contain this code in PyCollectorMixin.collect()?:
  if name[0] != "_":
and can the restriction be removed, as I would like to make my test functions "private" to the module.

Thanks for being awesome.



--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.



More information about the Pytest-dev mailing list