def METHOD_NAME(self, after_call):
    """Assert that changing tic-base raises a NESTError, and reset the kernel"""
    with self.assertRaises(nest.kernel.NESTError, msg=f'after calling "{after_call}"'):
        # For co-dependent properties, we use `set()` instead of kernel attributes
        nest.set(resolution=0.5, tics_per_ms=1500.0)
    nest.ResetKernel()