[Python-checkins] python/dist/src/Lib/test regrtest.py,1.96,1.97
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Wed, 18 Sep 2002 17:42:18 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv32275
Modified Files:
regrtest.py
Log Message:
Suppress hex/oct constant warnings in <string> on 64-bit platforms,
because there test_grammar.py pulls them out of strings there.
Index: regrtest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/regrtest.py,v
retrieving revision 1.96
retrieving revision 1.97
diff -C2 -d -r1.96 -r1.97
*** regrtest.py 13 Sep 2002 21:28:03 -0000 1.96
--- regrtest.py 19 Sep 2002 00:42:16 -0000 1.97
***************
*** 71,74 ****
--- 71,79 ----
warnings.filterwarnings("ignore", "hex/oct constants", FutureWarning,
".*test.test_grammar$")
+ if sys.maxint > 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>")
from test import test_support