def test_badHemisphere(self):
        """
        Accessing the hemisphere for a coordinate that can't compute it
        raises C{ValueError}.
        """
        coordinate = base.Coordinate(1.0, None)
        self.assertRaises(ValueError, lambda: coordinate.hemisphere)

        Accessing the hemisphere for a coordinate that can't compute it
        raises C{ValueError}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/positioning/test/test_base.py