summaryrefslogtreecommitdiff
path: root/doc/subprocess.rst
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
commitab44d24600585c1abe12241793f79dfd53fc4dd4 (patch)
treee1fc4f47aff3eb64fbb7c8001cb765c818b62384 /doc/subprocess.rst
parent23a8f9a5d8c0c04e03dbe919ccb41fc43660e492 (diff)
downloadpython-coveragepy-git-ab44d24600585c1abe12241793f79dfd53fc4dd4.tar.gz
Add a note of warning about uninstalling coverage.py after using aggressive subprocess hacks. #223.
Diffstat (limited to 'doc/subprocess.rst')
-rw-r--r--doc/subprocess.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/subprocess.rst b/doc/subprocess.rst
index 15fa4c22..41c6e334 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.