mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
Suppress another deprecation warning in the tests.
This commit is contained in:
parent
668a94a34f
commit
42a3deb7b5
1 changed files with 8 additions and 1 deletions
|
|
@ -1,6 +1,13 @@
|
||||||
# Testing rgbimg module
|
# 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
|
from test.test_support import verbose, unlink, findfile
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue