summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-01-08 19:42:10 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-01-08 19:42:10 (GMT)
commit56992e563840bd5fcb71316437a4a6ea5322275a (patch)
treefadadddbe73338b6d6eb124808d39736dde6f623 /Lib
parentc8316e616026db1f1611641a4d495915676e8fba (diff)
downloadcpython-56992e563840bd5fcb71316437a4a6ea5322275a.zip
cpython-56992e563840bd5fcb71316437a4a6ea5322275a.tar.gz
cpython-56992e563840bd5fcb71316437a4a6ea5322275a.tar.bz2
Merged revisions 77374 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77374 | antoine.pitrou | 2010-01-08 20:39:04 +0100 (ven., 08 janv. 2010) | 4 lines Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch by Florent Xicluna). ........
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/test/regrtest.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index eab22d6..4b9ef1a 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -159,16 +159,6 @@ import warnings
import unittest
from inspect import isabstract
-# I see no other way to suppress these warnings;
-# putting them in test_grammar.py has no effect:
-warnings.filterwarnings("ignore", "hex/oct constants", FutureWarning,
- ".*test.test_grammar$")
-if sys.maxsize > 0x7fffffff:
- # Also suppress them in <string>, because for 64-bit platforms,
- # that's where test_grammar.py hides them.
- warnings.filterwarnings("ignore", "hex/oct constants", FutureWarning,
- "<string>")
-
# Ignore ImportWarnings that only occur in the source tree,
# (because of modules with the same name as source-directories in Modules/)
for mod in ("ctypes", "gzip", "zipfile", "tarfile", "encodings.zlib_codec",