diff options
author | Walter Dörwald <walter@livinglogic.de> | 2005-02-17 22:31:28 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2005-02-17 22:31:28 (GMT) |
commit | 1fd4db9c6cf100570736663923e20c7d619cc80c (patch) | |
tree | b810b49916c74edd45dac5a8d965f1736cd882e1 /Lib | |
parent | 7f791529292815252bcada54e796af72074103fb (diff) | |
download | cpython-1fd4db9c6cf100570736663923e20c7d619cc80c.zip cpython-1fd4db9c6cf100570736663923e20c7d619cc80c.tar.gz cpython-1fd4db9c6cf100570736663923e20c7d619cc80c.tar.bz2 |
Fix copy & paste error.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/test/test_userstring.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_userstring.py b/Lib/test/test_userstring.py index b9a5b7f..95f1351 100755 --- a/Lib/test/test_userstring.py +++ b/Lib/test/test_userstring.py @@ -61,8 +61,8 @@ class MutableStringTest(UserStringTest): 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] |