def METHOD_NAME(self):
    bm.use_cpu()
    n_points = 1000
    delta_t = 0
    bm.use_gpu()
    try:
        _ = bm.rfftfreq(n_points, delta_t)
    except ZeroDivisionError:
        self.assertTrue(
            True, 'This testcase should raise a ZeroDivisionError')