Fix return type for cleanUp override method.

Change-Id: I4001c6dd8f6df0e8a0d27bca6260f67a1d553463
This commit is contained in:
Federico Ressi 2019-03-08 15:56:02 +01:00
parent 13947823b6
commit 172dead245

View File

@ -231,7 +231,7 @@ class SharedFixture(fixtures.Fixture):
try:
if not self._cleanup_executed:
self.addCleanup(self.cleanup_fixture)
super(SharedFixture, self).cleanUp(raise_first=raise_first)
return super(SharedFixture, self).cleanUp(raise_first=raise_first)
finally:
self._setup_executed = False
self._cleanup_executed = True