diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-08-06 13:25:31 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-08-06 13:25:31 -0400 |
commit | a23ab8eb5b1d1522120970e1f72fbf629b4d77e2 (patch) | |
tree | e2da20d903d4069cafd0cadb1b182b7432889ae5 /lab | |
parent | 90ecf09e3fc3f9c8950deba71fca699c7623edbf (diff) | |
download | python-coveragepy-git-a23ab8eb5b1d1522120970e1f72fbf629b4d77e2.tar.gz |
Built-in support for using aspectlib to debug execution.
Diffstat (limited to 'lab')
-rw-r--r-- | lab/aspectlib.diff | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lab/aspectlib.diff b/lab/aspectlib.diff deleted file mode 100644 index 5e4ea6ec..00000000 --- a/lab/aspectlib.diff +++ /dev/null @@ -1,14 +0,0 @@ -diff -r 44af4372756b coverage/__init__.py ---- a/coverage/__init__.py Sat Nov 21 14:26:51 2015 -0500 -+++ b/coverage/__init__.py Sun Nov 22 08:18:04 2015 -0500 -@@ -18,6 +18,10 @@ - # Backward compatibility. - coverage = Coverage - -+if 1: -+ import aspectlib, aspectlib.debug, sys -+ aspectlib.weave(Coverage, aspectlib.debug.log(print_to=sys.stdout), methods=aspectlib.PUBLIC_METHODS) -+ - # On Windows, we encode and decode deep enough that something goes wrong and - # the encodings.utf_8 module is loaded and then unloaded, I don't know why. - # Adding a reference here prevents it from being unloaded. Yuk. |