def METHOD_NAME(self):
    """Testing with an invalid frame (0, 0) and a valid size (ratio 1:2, h:w)"""
    frame = np.ndarray((0, 0))
    with self.assertRaises(ZeroDivisionError):
        frame = utils.cropToAspectRatio(frame, (1, 2)).shape, (100, 50)