summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2013-04-27 09:39:49 -0400
committerNed Batchelder <ned@nedbatchelder.com>2013-04-27 09:39:49 -0400
commitb72c637966195c3b37daa691350fa13597c3ac5e (patch)
tree4eaa9f23ae01b69a0ae90484212ef100070dabe8
parentfb8cc16d50ea9eede83c729c542fa52026974f3b (diff)
downloadpython-coveragepy-b72c637966195c3b37daa691350fa13597c3ac5e.tar.gz
Add a note of warning about uninstalling coverage.py after using aggressive subprocess hacks. #223.
-rw-r--r--doc/subprocess.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/subprocess.rst b/doc/subprocess.rst
index 15fa4c2..41c6e33 100644
--- a/doc/subprocess.rst
+++ b/doc/subprocess.rst
@@ -64,3 +64,8 @@ The .pth technique seems like a hack, but works, and is documented behavior.
On the plus side, you can create the file with any name you like so you don't
have to coordinate with other .pth files. On the minus side, you have to create
the file in a system-defined directory, so you may need privileges to write it.
+
+Note that if you use one of these techniques, you must undo them if you
+uninstall coverage.py, since you will now me trying to import it during Python
+startup. Be sure to remove the change when you uninstall coverage.py, or use a
+more defensive approach to importing it.