commit | 42a3deb7b5bd3d3b072f4bf652c1cc3ebf739807 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Tue Feb 21 03:28:49 2006 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Tue Feb 21 03:28:49 2006 +0000 |
tree | 3db6ea22b950c5a7b87f8f16648aca2a2efbf4c3 | |
parent | 668a94a34ffd2ce714d54ecc1f5bf6bccb2685d4 [diff] |
Suppress another deprecation warning in the tests.
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