(self, name: str)
| 468 | return ret |
| 469 | |
| 470 | def getplugin(self, name: str): |
| 471 | # Support deprecated naming because plugins (xdist e.g.) use it. |
| 472 | plugin: Optional[_PluggyPlugin] = self.get_plugin(name) |
| 473 | return plugin |
| 474 | |
| 475 | def hasplugin(self, name: str) -> bool: |
| 476 | """Return whether a plugin with the given name is registered.""" |
no outgoing calls