branch | stable |
changeset 49366 | 288de6f5d724 |
parent 48946 | 642e31cb55f0 |
--- a/tests/test-lock.py Thu Jun 16 15:15:03 2022 +0200 +++ b/tests/test-lock.py Thu Jun 16 15:28:54 2022 +0200 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import copy import errno import tempfile @@ -37,7 +35,7 @@ return super(lockwrapper, self)._getpid() + self._pidoffset -class teststate(object): +class teststate: def __init__(self, testcase, dir, pidoffset=0): self._testcase = testcase self._acquirecalled = False