def test_autodoc_invalid_extra_args(self): def invalid_function(T, p): return T decorators.equation_docstring(self.quantity_dict, self.assumption_dict, equation='x=y', references='reference here', notes='c sharp')(invalid_function)
def test_autodoc_invalid_extra_args(self): def invalid_function(T, p): return T decorators.equation_docstring( self.quantity_dict, self.assumption_dict, equation='x=y', references='reference here', notes='c sharp')(invalid_function)
def test_autodoc_invalid_args_function(self): def T_from_x_y(x, y): return x decorators.equation_docstring( self.quantity_dict, self.assumption_dict)(T_from_x_y)
def test_autodoc_invalid_no_extra_args(self): def invalid_function(T, p): return T decorators.equation_docstring( self.quantity_dict, self.assumption_dict)(invalid_function)
def test_autodoc_invalid_args_function(self): def T_from_x_y(x, y): return x decorators.equation_docstring(self.quantity_dict, self.assumption_dict)(T_from_x_y)
def test_autodoc_invalid_no_extra_args(self): def invalid_function(T, p): return T decorators.equation_docstring(self.quantity_dict, self.assumption_dict)(invalid_function)
def autodoc(**kwargs): return equation_docstring(quantities, assumptions, **kwargs)