Searched refs:expected_type (Results 1 – 4 of 4) sorted by relevance
111 def __init__(self, expected_type):113 self.expected_type = expected_type120 _fail(f"Expected exception {str(self.expected_type.__name__)}, none raised")121 elif self.expected_type != exc_type:122 _fail(f"Expected exception {str(self.expected_type.__name__)}, raised {str(exc_type.__name__)}")125 return self.expected_type == exc_type101 __init__(self, expected_type) global() argument
41 acpi_object_type expected_type,809 acpi_object_type expected_type, in acpi_db_read_from_object() argument850 if (ret_value->type != expected_type) { in acpi_db_read_from_object()853 acpi_ut_get_type_name(expected_type), in acpi_db_read_from_object()
690 u8 expected_type, unsigned long timeout) in smc_clc_wait_msg() argument724 expected_type == SMC_CLC_DECLINE) in smc_clc_wait_msg()736 if (len != -EAGAIN || expected_type != SMC_CLC_DECLINE) in smc_clc_wait_msg()745 (clcm->type != expected_type))) { in smc_clc_wait_msg()
448 u8 expected_type, unsigned long timeout);