summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sundry.py
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2008-09-11 12:11:06 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2008-09-11 12:11:06 (GMT)
commitd2e09383624944add0e670b857c572129d56988e (patch)
treef77e6631636c1d33d9bd5cf1e3e905c571ac9cd9 /Lib/test/test_sundry.py
parent9fa5a2828c8007dfb678b883d65aecac93e995e4 (diff)
downloadcpython-d2e09383624944add0e670b857c572129d56988e.zip
cpython-d2e09383624944add0e670b857c572129d56988e.tar.gz
cpython-d2e09383624944add0e670b857c572129d56988e.tar.bz2
Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
Diffstat (limited to 'Lib/test/test_sundry.py')
-rw-r--r--Lib/test/test_sundry.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py
index 49ec12c..e7499ae 100644
--- a/Lib/test/test_sundry.py
+++ b/Lib/test/test_sundry.py
@@ -8,7 +8,7 @@ import warnings
class TestUntestedModules(unittest.TestCase):
def test_at_least_import_untested_modules(self):
- with warnings.catch_warnings(record=True):
+ with warnings.catch_warnings():
import CGIHTTPServer
import aifc
import audiodev