From d2cf20eea2338a0369d4a5707adb01b201f7dfb2 Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Thu, 30 Aug 2007 22:57:53 +0000 Subject: Remove the simple slicing API. All slicing is now done with slice objects. --- Lib/test/seq_tests.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'Lib/test/seq_tests.py') diff --git a/Lib/test/seq_tests.py b/Lib/test/seq_tests.py index 6ec03e8a5f..eb6d141aa5 100644 --- a/Lib/test/seq_tests.py +++ b/Lib/test/seq_tests.py @@ -196,8 +196,6 @@ class CommonTest(unittest.TestCase): self.assertEqual(a[ -pow(2,128): 3 ], self.type2test([0,1,2])) self.assertEqual(a[ 3: pow(2,145) ], self.type2test([3,4])) - self.assertRaises(TypeError, u.__getslice__) - def test_contains(self): u = self.type2test([0, 1, 2]) for i in u: -- cgit v1.2.1