mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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 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…
Add table
Add a link
Reference in a new issue