Shut up warnings about hex()/oct() that can't be avoided.

This commit is contained in:
Guido van Rossum 2002-08-12 15:16:20 +00:00
parent 1ae4c3d0d8
commit baf29638da
2 changed files with 8 additions and 0 deletions

View File

@ -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__'

View File

@ -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'