def METHOD_NAME(
    self,
    args: Union[str, List[str]],
    testFileOrDirectory: Optional[str] = None,
    *,
    expected_error: type(Exception) = None,
    filtr: Optional[Callable[[str], str]] = None,
    is_directory: bool = False,
    add_yaml: bool = True,
    comparator: Callable[[type(unittest.TestCase), str, str, str], str] = None,