(self)
| 1977 | return d["f"], expected |
| 1978 | |
| 1979 | def test_method_call_error(self): |
| 1980 | nonopt_func, nonopt_expected = self._super_method_call_error(optimized=False) |
| 1981 | opt_func, opt_expected = self._super_method_call_error(optimized=True) |
| 1982 | |
| 1983 | self.check_events(nonopt_func, recorders=self.RECORDERS, expected=nonopt_expected) |
| 1984 | self.check_events(opt_func, recorders=self.RECORDERS, expected=opt_expected) |
| 1985 | |
| 1986 | def _super_attr(self, optimized=False): |
| 1987 | codestr = """ |
nothing calls this directly
no test coverage detected