← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1368661] [NEW] Unit tests sometimes fail because of stale pyc files

 

Public bug reported:

Because python creates pyc files during tox runs, certain changes in the
tree, like deletes of files, or switching branches, can create spurious
errors. This can be suppressed by PYTHONDONTWRITEBYTECODE=1 in the
tox.ini.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1368661

Title:
  Unit tests sometimes fail because of stale pyc files

Status in OpenStack Compute (Nova):
  New

Bug description:
  Because python creates pyc files during tox runs, certain changes in
  the tree, like deletes of files, or switching branches, can create
  spurious errors. This can be suppressed by PYTHONDONTWRITEBYTECODE=1
  in the tox.ini.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1368661/+subscriptions


Follow ups

References