[Python-checkins] r46258 - python/branches/sreifschneider-newnewexcept/Lib/test/test_exceptions.py
sean.reifschneider
python-checkins at python.org
Thu May 25 23:31:05 CEST 2006
Author: sean.reifschneider
Date: Thu May 25 23:31:04 2006
New Revision: 46258
Modified:
python/branches/sreifschneider-newnewexcept/Lib/test/test_exceptions.py
Log:
Adding IOErrors for Richard's testing.
Modified: python/branches/sreifschneider-newnewexcept/Lib/test/test_exceptions.py
==============================================================================
--- python/branches/sreifschneider-newnewexcept/Lib/test/test_exceptions.py (original)
+++ python/branches/sreifschneider-newnewexcept/Lib/test/test_exceptions.py Thu May 25 23:31:04 2006
@@ -219,6 +219,11 @@
( BaseException, ('foo', 1), { 'message' : '', 'args' : ( 'foo', 1 ) }),
( SystemExit, ('foo',), { 'message' : 'foo', 'args' : ( 'foo', ),
'code' : 'foo' }),
+ ( IOError, ('foo',), { 'message' : 'foo', 'args' : ( 'foo', ), }),
+ ( IOError, ('foo', 'bar'), { 'message' : '',
+ 'args' : ('foo', 'bar'), }),
+ ( IOError, ('foo', 'bar', 'baz'),
+ { 'message' : '', 'args' : ('foo', 'bar'), }),
( EnvironmentError, ('errnoStr', 'strErrorStr', 'filenameStr'),
{ 'message' : '', 'args' : ('errnoStr', 'strErrorStr'),
'strerror' : 'strErrorStr',
More information about the Python-checkins
mailing list