projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
668a94a
)
Suppress another deprecation warning in the tests.
author
Tim Peters
<tim.peters@gmail.com>
Tue, 21 Feb 2006 03:28:49 +0000
(
03:28
+0000)
committer
Tim Peters
<tim.peters@gmail.com>
Tue, 21 Feb 2006 03:28:49 +0000
(
03:28
+0000)
Lib/test/test_rgbimg.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_rgbimg.py
b/Lib/test/test_rgbimg.py
index 010b3b5fd02aa5467c9c9741047ba88eec72604f..650c02aa0f9a6adc32080ee88b3448a5908c6524 100644
(file)
--- 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