Suppress another deprecation warning in the tests.

This commit is contained in:
Tim Peters 2006-02-21 03:28:49 +00:00
parent 668a94a34f
commit 42a3deb7b5
1 changed files with 8 additions and 1 deletions

View File

@ -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