vfs: use 'vfs' module directly in 'test-lock'
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Thu, 02 Mar 2017 13:33:02 +0100
changeset 31249 e067741d4607
parent 31248 8d3e8c8c9049
child 31250 6d44de27790c
vfs: use 'vfs' module directly in 'test-lock' Now that the 'vfs' classes moved in their own module, lets use the new module directly. We update code iteratively to help with possible bisect needs in the future.
tests/test-lock.py
--- a/tests/test-lock.py	Thu Mar 02 13:32:49 2017 +0100
+++ b/tests/test-lock.py	Thu Mar 02 13:33:02 2017 +0100
@@ -10,7 +10,7 @@
 from mercurial import (
     error,
     lock,
-    scmutil,
+    vfs as vfsmod,
 )
 
 testlockname = 'testlock'
@@ -36,7 +36,7 @@
         self._acquirecalled = False
         self._releasecalled = False
         self._postreleasecalled = False
-        self.vfs = scmutil.vfs(dir, audit=False)
+        self.vfs = vfsmod.vfs(dir, audit=False)
         self._pidoffset = pidoffset
 
     def makelock(self, *args, **kwargs):