Replace abc.abstractproperty with property and abc.abstractmethod
Replace abc.abstractproperty with property and abc.abstractmethod, as abc.abstractproperty has been deprecated since python3.3[1] [1]https://docs.python.org/3.8/whatsnew/3.3.html?highlight=deprecated#abc Change-Id: I506bd4f17d9c86d1a0328e765e8c695c76e16f18
This commit is contained in:
parent
2445a5df78
commit
be2223c0f8
|
@ -133,7 +133,8 @@ class CommonIdentityTests(object):
|
|||
|
||||
self.stub_auth(json=token)
|
||||
|
||||
@abc.abstractproperty
|
||||
@property
|
||||
@abc.abstractmethod
|
||||
def version(self):
|
||||
"""The API version being tested."""
|
||||
|
||||
|
|
Loading…
Reference in New Issue