summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_rgbimg.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-18 14:50:20 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-18 14:50:20 (GMT)
commitb65b0065954ce1a410d8309529a5239b7da2bcfd (patch)
tree352e9cfb81a15301780fbe9a775007a3d3c26f06 /Lib/test/test_rgbimg.py
parentf28b898f13cd07809667c389a36c9507b18da9ed (diff)
downloadcpython-b65b0065954ce1a410d8309529a5239b7da2bcfd.zip
cpython-b65b0065954ce1a410d8309529a5239b7da2bcfd.tar.gz
cpython-b65b0065954ce1a410d8309529a5239b7da2bcfd.tar.bz2
Convert some old-style string exceptions to class exceptions.
Diffstat (limited to 'Lib/test/test_rgbimg.py')
-rw-r--r--Lib/test/test_rgbimg.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_rgbimg.py b/Lib/test/test_rgbimg.py
index 38bcdf5..1fa201d 100644
--- a/Lib/test/test_rgbimg.py
+++ b/Lib/test/test_rgbimg.py
@@ -4,7 +4,8 @@ import rgbimg, os, uu
from test_support import verbose, unlink, findfile
-error = 'test_rgbimg.error'
+class error(Exception):
+ pass
print 'RGBimg test suite:'