diff tests/lockdelay.py @ 53031:e705fec4a03f stable

branching: merging with 7.0 changes Since 6.9.3 was made after 7.0rc0 we need to deal with more branching than usual.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 05 Mar 2025 23:02:19 +0100
parents 5cc8deb96b48
children
line wrap: on
line diff
--- a/tests/lockdelay.py	Wed Mar 05 22:33:11 2025 +0100
+++ b/tests/lockdelay.py	Wed Mar 05 23:02:19 2025 +0100
@@ -13,7 +13,7 @@
             delay = float(os.environ.get('HGPRELOCKDELAY', '0.0'))
             if delay:
                 time.sleep(delay)
-            res = super(delayedlockrepo, self).lock(wait=wait)
+            res = super().lock(wait=wait)
             delay = float(os.environ.get('HGPOSTLOCKDELAY', '0.0'))
             if delay:
                 time.sleep(delay)