def METHOD_NAME():
    """Test that dataclass is properly initialized"""
    @dataclass
    class Dummy(TensorDataclass):
        """Dummy dataclass"""
        dummy_vals: torch.Tensor = None
    dummy = Dummy(dummy_vals=torch.ones(1))
    with pytest.raises(ValueError):
        dummy = Dummy()