(cls)
| 155 | |
| 156 | @classmethod |
| 157 | def is_abstract(cls): |
| 158 | # mro: (_BenchmarkRegistrar, Benchmark) means this is Benchmark |
| 159 | return len(cls.mro()) <= 2 |
| 160 | |
| 161 | def _get_name(self, overwrite_name=None): |
| 162 | """Returns full name of class and method calling report_benchmark.""" |