diff options
Diffstat (limited to 'Lib/test/test_unpack.py')
-rw-r--r-- | Lib/test/test_unpack.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_unpack.py b/Lib/test/test_unpack.py index 1bfd47840b..25324c053a 100644 --- a/Lib/test/test_unpack.py +++ b/Lib/test/test_unpack.py @@ -100,7 +100,8 @@ except ValueError: # 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): |