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). ........
This commit is contained in:
parent
c8316e6160
commit
56992e5638
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue