[Python-3000-checkins] r53999 - python/branches/p3yk/Lib/test/test_structmembers.py

neal.norwitz python-3000-checkins at python.org
Tue Feb 27 19:58:57 CET 2007


Author: neal.norwitz
Date: Tue Feb 27 19:58:52 2007
New Revision: 53999

Modified:
   python/branches/p3yk/Lib/test/test_structmembers.py
Log:
Fix breakage from removing exceptions module

Modified: python/branches/p3yk/Lib/test/test_structmembers.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_structmembers.py	(original)
+++ python/branches/p3yk/Lib/test/test_structmembers.py	Tue Feb 27 19:58:52 2007
@@ -4,7 +4,7 @@
     INT_MAX, INT_MIN, UINT_MAX, \
     LONG_MAX, LONG_MIN, ULONG_MAX
 
-import warnings, exceptions, unittest, test.test_warnings
+import warnings, unittest, test.test_warnings
 from test import test_support
 
 ts=test_structmembersType(1,2,3,4,5,6,7,8,9.99999,10.1010101010)
@@ -42,7 +42,7 @@
 class TestWarnings(test.test_warnings.TestModule):
     def has_warned(self):
         self.assertEqual(test.test_warnings.msg.category,
-                         exceptions.RuntimeWarning.__name__)
+                         RuntimeWarning.__name__)
 
     def test_byte_max(self):
         ts.T_BYTE=CHAR_MAX+1


More information about the Python-3000-checkins mailing list