(self)
| 2014 | return d["f"], expected |
| 2015 | |
| 2016 | def test_attr(self): |
| 2017 | nonopt_func, nonopt_expected = self._super_attr(optimized=False) |
| 2018 | opt_func, opt_expected = self._super_attr(optimized=True) |
| 2019 | |
| 2020 | self.check_events(nonopt_func, recorders=self.RECORDERS, expected=nonopt_expected) |
| 2021 | self.check_events(opt_func, recorders=self.RECORDERS, expected=opt_expected) |
| 2022 | |
| 2023 | def test_vs_other_type_call(self): |
| 2024 | code_template = textwrap.dedent(""" |
nothing calls this directly
no test coverage detected