# HG changeset patch # User Pierre-Yves David # Date 2017-03-02 12:33:02 # Node ID e067741d46070919864eb691613d94d1672cbe88 # Parent 8d3e8c8c904941eda88c17ce94f38d12214c23cf 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. diff --git a/tests/test-lock.py b/tests/test-lock.py --- a/tests/test-lock.py +++ b/tests/test-lock.py @@ -10,7 +10,7 @@ import unittest from mercurial import ( error, lock, - scmutil, + vfs as vfsmod, ) testlockname = 'testlock' @@ -36,7 +36,7 @@ class teststate(object): 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):