def METHOD_NAME(self):
    t = (2,3,4)
    self.assertRaises(TypeError, lambda : t[2.0])
    class mytuple(tuple):
        def __getitem__(self, index):
            return tuple.__getitem__(self, int(index))
    t = mytuple(t)
    self.assertEqual(t[2.0], 4)