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

Marius Gedminas marius at gedmin.as
Mon Oct 15 01:11:13 PDT 2012


On Sun, Oct 14, 2012 at 04:57:09PM +0000, Alexander O'Donovan-Jones wrote:
> If you're having problems with pyc files you might want to look into
> this:
> http://docs.python.org/using/cmdline.html#envvar-PYTHONDONTWRITEBYTECODE

PYTHONDONT*READ*BYTECODE would be more useful, if only it existed.

FWIW zope.testrunner searches for and deletes stale pyc files by
default, prior to running the tests.

Marius Gedminas
-- 
"question = (to) ? be : !be;" -- Shakespeare
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20121015/aab1b10c/attachment.pgp>


More information about the testing-in-python mailing list