~djfroofy/twisted/lecproxy-4660

Viewing all changes in revision 15657.

  • Committer: exarkun
  • Date: 2010-09-10 12:17:31 UTC
  • Revision ID: svn-v4:bbbe8e31-12d6-0310-92fd-ac37d47ddeeb:trunk:29996
Merge remove-lineno-patch-4616

Author: fijal, exarkun
Reviewer: jonathanj, jml
Fixes: #4616

Remove the trace module monkey patching from the implementation of
trial's `--coverage` option.  It was only necessary on certain
point releases of Python 2.3, no longer supported.  Also add a test
verifying that a trace hook is actually installed by `opt_coverage`.


Re-merge fixes test failure on Python 2.4, which does not have
`sys.gettrace` (the test is simply skipped in that case, as there
is no way to inspect the installed trace hook without `gettrace`).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: