mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Shut up warnings about hex()/oct() that can't be avoided.
This commit is contained in:
parent
1ae4c3d0d8
commit
baf29638da
2 changed files with 8 additions and 0 deletions
|
@ -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__'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue