tests/test-push-race.t
changeset 34507 30ae924a9e00
parent 33773 6c1a9fd8361b
child 34661 eb586ed5d8ce
--- a/tests/test-push-race.t	Mon Oct 02 04:48:06 2017 +0530
+++ b/tests/test-push-race.t	Thu Oct 05 20:46:49 2017 +0000
@@ -15,7 +15,6 @@
   > Client with the extensions will create a file when ready and get stuck until
   > a file is created."""
   > 
-  > import atexit
   > import errno
   > import os
   > import time
@@ -51,7 +50,7 @@
   >                 except OSError as exc:
   >                     if exc.errno != errno.ENOENT:
   >                         raise
-  >             atexit.register(delete)
+  >             ui.atexit(delete)
   >     return orig(pushop)
   > 
   > def uisetup(ui):