summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_rgbimg.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_rgbimg.py')
-rw-r--r--Lib/test/test_rgbimg.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/Lib/test/test_rgbimg.py b/Lib/test/test_rgbimg.py
index 010b3b5..650c02a 100644
--- a/Lib/test/test_rgbimg.py
+++ b/Lib/test/test_rgbimg.py
@@ -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