Lines Matching full:self
26 def __init__(self, message): argument
33 def __init__(self, option_strings, dest, type, default, **kwargs): argument
37 self.enum_type = type
38 if isinstance(default, self.enum_type):
41 default = self.enum_type(default.lower())
43 default = [self.enum_type(v.lower()) for v in default]
49 def __call__(self, parser, namespace, values, option_string=None): argument
50 if isinstance(values, self.enum_type):
53 values = self.enum_type(values.lower())
55 values = [self.enum_type(v.lower()) for v in values]
58 setattr(namespace, self.dest, values)
78 def __str__(self): argument
79 return self.value
81 def __repr__(self): argument
82 return self.value
88 def get_source_path(self, test: str) -> Path: argument
100 def get_run_path(self, test: str) -> Path: argument
112 def get_output_path(self, test: str, output_file: str) -> Path: argument
125 def test_failure_artifacts_path(self) -> Path: argument
130 def cgns_tol(self): argument
132 return getattr(self, '_cgns_tol', 1.0e-12)
135 def cgns_tol(self, val): argument
136 self._cgns_tol = val
139 def csv_ztol(self): argument
141 return getattr(self, '_csv_ztol', 3e-10)
144 def csv_ztol(self, val): argument
145 self._csv_ztol = val
148 def csv_rtol(self): argument
150 return getattr(self, '_csv_rtol', 1e-6)
153 def csv_rtol(self, val): argument
154 self._csv_rtol = val
157 def csv_comment_diff_fn(self): # -> Any | Callable[..., None]: argument
158 return getattr(self, '_csv_comment_diff_fn', None)
161 def csv_comment_diff_fn(self, test_fn): argument
162 self._csv_comment_diff_fn = test_fn
165 def csv_comment_str(self): argument
166 return getattr(self, '_csv_comment_str', '#')
169 def csv_comment_str(self, comment_str): argument
170 self._csv_comment_str = comment_str
172 def post_test_hook(self, test: str, spec: TestSpec, backend: str) -> None: argument
181 def check_pre_skip(self, test: str, spec: TestSpec, resource: str, nproc: int) -> Optional[str]: argument
195 … def check_post_skip(self, test: str, spec: TestSpec, resource: str, stderr: str) -> Optional[str]: argument
209 …def check_required_failure(self, test: str, spec: TestSpec, resource: str, stderr: str) -> Tuple[s… argument
223 def check_allowed_stdout(self, test: str) -> bool: argument