This fixes the cephadm test files when running tox/pytest on python3.6
(centos/rhel 8).
Long story short, combining classmethod and property on py3.6 behaves
differently from py3.7 and up. Since the classmethod is actually
unnecessary for the base class to behave as it does, we drop that
decorator.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
def __init__(self) -> None:
self.path = find_program(self.EXE)
- @classmethod
@property
- def EXE(cls) -> str:
+ def EXE(self) -> str:
raise NotImplementedError()
def __str__(self) -> str: