commit | b65b0065954ce1a410d8309529a5239b7da2bcfd | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Fri Aug 18 14:50:20 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Fri Aug 18 14:50:20 2000 +0000 |
tree | 352e9cfb81a15301780fbe9a775007a3d3c26f06 | |
parent | f28b898f13cd07809667c389a36c9507b18da9ed [diff] [blame] |
Convert some old-style string exceptions to class exceptions.
diff --git a/Lib/test/test_unpack.py b/Lib/test/test_unpack.py index 1bfd478..25324c0 100644 --- a/Lib/test/test_unpack.py +++ b/Lib/test/test_unpack.py
@@ -100,7 +100,8 @@ # unpacking a sequence where the test for too long raises a different # kind of error -BozoError = 'BozoError' +class BozoError(Exception): + pass class BadSeq: def __getitem__(self, i):