[ctypes-commit] ctypes/unittests test_structures.py,1.20,1.21
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2004-09-16 10:41:26
|
Update of /cvsroot/ctypes/ctypes/unittests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26438 Modified Files: test_structures.py Log Message: The exceptions raised by Extend_Error_Info look different now - make the tests work again. Index: test_structures.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/unittests/test_structures.py,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** test_structures.py 16 Sep 2004 10:30:28 -0000 1.20 --- test_structures.py 16 Sep 2004 10:41:15 -0000 1.21 *************** *** 219,224 **** cls, msg = self.get_except(Person, "Someone", ("a", "b", "c")) ! self.failUnlessEqual(cls, ValueError) ! self.failUnlessEqual(msg, "(Phone) too many initializers") --- 219,224 ---- cls, msg = self.get_except(Person, "Someone", ("a", "b", "c")) ! self.failUnlessEqual(cls, RuntimeError) ! self.failUnlessEqual(msg, "(Phone) exceptions.ValueError: too many initializers") |