]> granicus.if.org Git - python/commit
Blocked revisions 88494 via svnmerge
authorBrett Cannon <bcannon@gmail.com>
Tue, 22 Feb 2011 03:07:39 +0000 (03:07 +0000)
committerBrett Cannon <bcannon@gmail.com>
Tue, 22 Feb 2011 03:07:39 +0000 (03:07 +0000)
commitd8b64788ce3c6607fe4f6f4a40b380fbbacbe10a
treea105cf2b62314e2c314264adf7a985ca6190f58d
parent97696cbf367209a09657dc83b49f8e509751a322
Blocked revisions 88494 via svnmerge

........
  r88494 | brett.cannon | 2011-02-21 19:04:06 -0800 (Mon, 21 Feb 2011) | 10 lines

  Issue #10992: make tests pass when run under coverage.

  Various tests fail when run under coverage. A primary culprit is refcount tests
  which fail as the counts are thrown off by the coverage code. A new decorator
  -- test.support.refcount_test -- is used to decorate tests which test refcounts
  and to skip them when running under coverage. Other tests simply fail because
  of changes in the system (e.g., __local__ suddenly appearing).

  Thanks to Kristian Vlaardingerbroek for helping to diagnose the test failures.
........