Home
last modified time | relevance | path

Searched refs:exc_type (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/net/lib/py/
H A Dksft.py175 def __exit__(self, exc_type, exc_val, exc_tb):
176 if exc_type is None:
178 elif self.expected_type != exc_type:
179 _fail(f"Expected exception {str(self.expected_type.__name__)}, raised {str(exc_type.__name__)}")
182 return self.expected_type == exc_type
108 __exit__(self, exc_type, exc_val, exc_tb) global() argument
H A Dnetns.py120 def __exit__(self, exc_type, exc_value, traceback):
47 __exit__(self, exc_type, exc_value, traceback) global() argument
/linux/tools/lib/python/
H A Djobserver.py177 def __exit__(self, exc_type, exc_value, exc_traceback):
131 __exit__(self, exc_type, exc_value, exc_traceback) global() argument
/linux/tools/testing/selftests/hid/tests/
H A Dbase.py398 def __exit__(self, exc_type, exc_value, traceback): argument
/linux/tools/mm/
H A Dthpmaps93 def __exit__(self, exc_type, exc_val, exc_tb):
/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py745 def __exit__(self, exc_type, exc, tb):
744 __exit__(self, exc_type, exc, tb) global() argument