diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-02-21 03:28:49 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-02-21 03:28:49 (GMT) |
commit | 42a3deb7b5bd3d3b072f4bf652c1cc3ebf739807 (patch) | |
tree | 3db6ea22b950c5a7b87f8f16648aca2a2efbf4c3 | |
parent | 668a94a34ffd2ce714d54ecc1f5bf6bccb2685d4 (diff) | |
download | cpython-42a3deb7b5bd3d3b072f4bf652c1cc3ebf739807.zip cpython-42a3deb7b5bd3d3b072f4bf652c1cc3ebf739807.tar.gz cpython-42a3deb7b5bd3d3b072f4bf652c1cc3ebf739807.tar.bz2 |
Suppress another deprecation warning in the tests.
-rw-r--r-- | Lib/test/test_rgbimg.py | 9 |
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 |