mirror of https://github.com/python/cpython
Suppress another deprecation warning in the tests.
This commit is contained in:
parent
668a94a34f
commit
42a3deb7b5
|
@ -1,6 +1,13 @@
|
|||
# Testing rgbimg module
|
||||
|
||||
import rgbimg, os, uu
|
||||
import warnings
|
||||
warnings.filterwarnings("ignore",
|
||||
"the rgbimg module is deprecated",
|
||||
DeprecationWarning,
|
||||
".*test_rgbimg$")
|
||||
import rgbimg
|
||||
|
||||
import os, uu
|
||||
|
||||
from test.test_support import verbose, unlink, findfile
|
||||
|
||||
|
|
Loading…
Reference in New Issue