diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-08-14 05:51:06 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-08-14 05:51:06 (GMT) |
commit | 2ee4128e9b4f481d5029fe4c8ada6c12ac64e2bd (patch) | |
tree | dcdfe00aac7f3bdbe594720cc8dac33541863c04 /Doc | |
parent | be7abbb9d9d886d83c6990f7c68e8e4f84b57c8d (diff) | |
download | cpython-2ee4128e9b4f481d5029fe4c8ada6c12ac64e2bd.zip cpython-2ee4128e9b4f481d5029fe4c8ada6c12ac64e2bd.tar.gz cpython-2ee4128e9b4f481d5029fe4c8ada6c12ac64e2bd.tar.bz2 |
Remove test.test_support.guard_warnings_filter.
test.test_support.catch_warning is more full-featured and provides the same
functionality.
Since guard_warnings_filter was added in 2.6 there is no
backwards-compatibility issues.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libtest.tex | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Doc/lib/libtest.tex b/Doc/lib/libtest.tex index 5e185fa..2e3bb61 100644 --- a/Doc/lib/libtest.tex +++ b/Doc/lib/libtest.tex @@ -265,12 +265,6 @@ If no match is found \var{filename} is returned. This does not equal a failure since it could be the path to the file. \end{funcdesc} -\begin{funcdesc}{guard_warnings_filter}{} -Returns a context manager that guards the \module{warnings} module's -filter settings. -\versionadded{2.6} -\end{funcdesc} - \begin{funcdesc}{run_unittest}{*classes} Execute \class{unittest.TestCase} subclasses passed to the function. The function scans the classes for methods starting with the prefix |