[TIP] [tox] Stale pyc files causing false positive test successes

Alfredo Deza alfredodeza at gmail.com
Mon Oct 15 07:05:20 PDT 2012


On Oct 15, 2012 9:51 AM, "Barry Warsaw" <barry at python.org> wrote:
>
> On Oct 15, 2012, at 11:11 AM, Marius Gedminas wrote:
>
> >FWIW zope.testrunner searches for and deletes stale pyc files by
> >default, prior to running the tests.
>
> This is a great feature which provides additional assurance that the tests
> you're passing are the ones you think you should be. ;)  Tox should do the
> same thing I think.

I disagree here. Tox is *not* a test runner.

Whatever is being used to run the tests should be in charge of (in this
case) removing pyc files.

>
> -Barry
>
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20121015/5e1cec75/attachment.htm>


More information about the testing-in-python mailing list