Shut up warnings about hex()/oct() that can't be avoided.
This commit is contained in:
parent
1ae4c3d0d8
commit
baf29638da
|
@ -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__'
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue