summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-12 15:16:20 (GMT)
committerGuido van Rossum <guido@python.org>2002-08-12 15:16:20 (GMT)
commitbaf29638dafbfdd61452dd4dc64395ed63bc007d (patch)
tree988c4d052ffaaa0de2ec213739a916ee13d040cd /Lib
parent1ae4c3d0d8177306a899a083cfe55cc3192eaaa4 (diff)
downloadcpython-baf29638dafbfdd61452dd4dc64395ed63bc007d.zip
cpython-baf29638dafbfdd61452dd4dc64395ed63bc007d.tar.gz
cpython-baf29638dafbfdd61452dd4dc64395ed63bc007d.tar.bz2
Shut up warnings about hex()/oct() that can't be avoided.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_b1.py4
-rw-r--r--Lib/test/test_b2.py4
2 files changed, 8 insertions, 0 deletions
diff --git a/Lib/test/test_b1.py b/Lib/test/test_b1.py
index 37e7cdf..f8a3f01 100644
--- a/Lib/test/test_b1.py
+++ b/Lib/test/test_b1.py
@@ -1,5 +1,9 @@
# Python test set -- part 4a, built-in functions a-m
+import warnings
+warnings.filterwarnings("ignore", "hex../oct.. of negative int",
+ DeprecationWarning, __name__)
+
from test.test_support import TestFailed, fcmp, have_unicode, TESTFN, unlink
print '__import__'
diff --git a/Lib/test/test_b2.py b/Lib/test/test_b2.py
index b59d3ab..d3653a5 100644
--- a/Lib/test/test_b2.py
+++ b/Lib/test/test_b2.py
@@ -1,5 +1,9 @@
# Python test set -- part 4b, built-in functions n-z
+import warnings
+warnings.filterwarnings("ignore", "hex../oct.. of negative int",
+ DeprecationWarning, __name__)
+
from test.test_support import TestFailed, fcmp, TESTFN, unlink, vereq
print 'oct'