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.
--- 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):