'Testing Geometry GEOSIndexError'

def test00_GEOSIndexException(self):

    p = Point(1, 2)
    for i in range((-2), 2):
        p._checkindex(i)
    self.assertRaises(GEOSIndexError, p._checkindex, 2)
    self.assertRaises(GEOSIndexError, p._checkindex, (-3))
