summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-02-27 18:58:52 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-02-27 18:58:52 (GMT)
commitfa04e1a090b94a30d905184aab26e346b8549b6c (patch)
tree13cc6a944cb5da5cbe2b68553a18d87b567557f3
parent68bbcd2a71960f69c8159834af71a8a48f9d0839 (diff)
downloadcpython-fa04e1a090b94a30d905184aab26e346b8549b6c.zip
cpython-fa04e1a090b94a30d905184aab26e346b8549b6c.tar.gz
cpython-fa04e1a090b94a30d905184aab26e346b8549b6c.tar.bz2
Fix breakage from removing exceptions module
-rw-r--r--Lib/test/test_structmembers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_structmembers.py b/Lib/test/test_structmembers.py
index 93dd2ac..0713b87 100644
--- a/Lib/test/test_structmembers.py
+++ b/Lib/test/test_structmembers.py
@@ -4,7 +4,7 @@ from _testcapi import test_structmembersType, \
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 ReadWriteTests(unittest.TestCase):
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