[Python-checkins] r46568 - python/trunk/Lib/test/test_exceptions.py

tim.peters python-checkins at python.org
Wed May 31 01:28:03 CEST 2006


Author: tim.peters
Date: Wed May 31 01:28:02 2006
New Revision: 46568

Modified:
   python/trunk/Lib/test/test_exceptions.py
Log:
Whitespace normalization.


Modified: python/trunk/Lib/test/test_exceptions.py
==============================================================================
--- python/trunk/Lib/test/test_exceptions.py	(original)
+++ python/trunk/Lib/test/test_exceptions.py	Wed May 31 01:28:02 2006
@@ -31,7 +31,7 @@
         self.assertEquals(exc.__name__, excname)
 
     def testRaising(self):
-        self.raise_catch(AttributeError, "AttributeError")    
+        self.raise_catch(AttributeError, "AttributeError")
         self.assertRaises(AttributeError, getattr, sys, "undefined_attribute")
 
         self.raise_catch(EOFError, "EOFError")
@@ -184,10 +184,10 @@
         """test that exception attributes are happy."""
         try: str(u'Hello \u00E1')
         except Exception, e: sampleUnicodeEncodeError = e
-        
+
         try: unicode('\xff')
         except Exception, e: sampleUnicodeDecodeError = e
-        
+
         exceptionList = [
                 ( BaseException, (), { 'message' : '', 'args' : () }),
                 ( BaseException, (1, ), { 'message' : 1, 'args' : ( 1, ) }),
@@ -267,7 +267,7 @@
                                       repr(expected[checkArgName]),
                                       'exception "%s", attribute "%s"' %
                                        (repr(e), checkArgName))
-                
+
                 # test for pickling support
                 new = pickle.loads(pickle.dumps(e, random.randint(0, 2)))
                 for checkArgName in expected.keys():


More information about the Python-checkins mailing list