summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes/test
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-02-26 22:22:47 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-02-26 22:22:47 (GMT)
commit2633c69fae7e413b2b64b01d8c0c901ae649a225 (patch)
tree144a1f97f427f019a8ddaae96a8f0da6a09df985 /Lib/ctypes/test
parentf543348fff32ae20a9fd2c7f70a3549a3280048c (diff)
downloadcpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.zip
cpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.tar.gz
cpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.tar.bz2
Remove the exceptions builtin module, all the exceptions are already builtin.
Diffstat (limited to 'Lib/ctypes/test')
-rw-r--r--Lib/ctypes/test/test_structures.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/ctypes/test/test_structures.py b/Lib/ctypes/test/test_structures.py
index 097e1da..389f937 100644
--- a/Lib/ctypes/test/test_structures.py
+++ b/Lib/ctypes/test/test_structures.py
@@ -294,20 +294,20 @@ class StructureTestCase(unittest.TestCase):
# In Python 2.5, Exception is a new-style class, and the repr changed
if issubclass(Exception, object):
self.failUnlessEqual(msg,
- "(Phone) <type 'exceptions.TypeError'>: "
+ "(Phone) <type 'TypeError'>: "
"expected string or Unicode object, int found")
else:
self.failUnlessEqual(msg,
- "(Phone) exceptions.TypeError: "
+ "(Phone) TypeError: "
"expected string or Unicode object, int found")
cls, msg = self.get_except(Person, "Someone", ("a", "b", "c"))
self.failUnlessEqual(cls, RuntimeError)
if issubclass(Exception, object):
self.failUnlessEqual(msg,
- "(Phone) <type 'exceptions.ValueError'>: too many initializers")
+ "(Phone) <type 'ValueError'>: too many initializers")
else:
- self.failUnlessEqual(msg, "(Phone) exceptions.ValueError: too many initializers")
+ self.failUnlessEqual(msg, "(Phone) ValueError: too many initializers")
def get_except(self, func, *args):