tests/test-dirstate-race.t
changeset 48390 322525db4c98
parent 48389 03644a929d6e
child 48681 e845537f6adb
--- a/tests/test-dirstate-race.t	Thu Nov 18 15:00:13 2021 +0100
+++ b/tests/test-dirstate-race.t	Thu Nov 18 13:12:40 2021 +0100
@@ -66,11 +66,11 @@
   > )
   > def extsetup(ui):
   >     extensions.wrapfunction(context.workingctx, '_checklookup', overridechecklookup)
-  > def overridechecklookup(orig, self, files):
+  > def overridechecklookup(orig, self, *args, **kwargs):
   >     # make an update that changes the dirstate from underneath
   >     self._repo.ui.system(br"sh '$TESTTMP/dirstaterace.sh'",
   >                          cwd=self._repo.root)
-  >     return orig(self, files)
+  >     return orig(self, *args, **kwargs)
   > EOF
 
   $ hg debugrebuilddirstate