[Python-checkins] r77375 - in python/branches/py3k: Lib/test/regrtest.py
antoine.pitrou
python-checkins at python.org
Fri Jan 8 20:42:11 CET 2010
Author: antoine.pitrou
Date: Fri Jan 8 20:42:10 2010
New Revision: 77375
Log:
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).
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Lib/test/regrtest.py
Modified: python/branches/py3k/Lib/test/regrtest.py
==============================================================================
--- python/branches/py3k/Lib/test/regrtest.py (original)
+++ python/branches/py3k/Lib/test/regrtest.py Fri Jan 8 20:42:10 2010
@@ -159,16 +159,6 @@
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",
More information about the Python-checkins
mailing list