[Python-checkins] python/dist/src/Lib/test test_userstring.py, 1.15, 1.16
Update of /cvsroot/python/python/dist/src/Lib/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20918/Lib/test Modified Files: test_userstring.py Log Message: Fix copy & paste error. Index: test_userstring.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/test/test_userstring.py,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- test_userstring.py 17 Feb 2005 22:03:31 -0000 1.15 +++ test_userstring.py 17 Feb 2005 22:31:28 -0000 1.16 @@ -61,8 +61,8 @@ def test_delitem(self): s = self.type2test("foo") - self.assertRaises(IndexError, s.__setitem__, -1, "bar") - self.assertRaises(IndexError, s.__setitem__, 3, "bar") + self.assertRaises(IndexError, s.__delitem__, -1) + self.assertRaises(IndexError, s.__delitem__, 3) del s[0] self.assertEqual(s, "oo") del s[1]
participants (1)
-
doerwalterļ¼ users.sourceforge.net