Mercurial > public > mercurial-scm > hg-stable
diff tests/test-lock.py @ 31259:e067741d4607
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.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 02 Mar 2017 13:33:02 +0100 |
parents | 14033c5dd261 |
children | 0d892d820a51 |
line wrap: on
line diff
--- 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):