Suppress hex/oct constant warnings in <string> on 64-bit platforms,
because there test_grammar.py pulls them out of strings there.
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index c174083..2870daa 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -70,6 +70,11 @@
# putting them in test_grammar.py has no effect:
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