Show More
@@ -10,7 +10,7 b' import unittest' | |||||
10 | from mercurial import ( |
|
10 | from mercurial import ( | |
11 | error, |
|
11 | error, | |
12 | lock, |
|
12 | lock, | |
13 | scmutil, |
|
13 | vfs as vfsmod, | |
14 | ) |
|
14 | ) | |
15 |
|
15 | |||
16 | testlockname = 'testlock' |
|
16 | testlockname = 'testlock' | |
@@ -36,7 +36,7 b' class teststate(object):' | |||||
36 | self._acquirecalled = False |
|
36 | self._acquirecalled = False | |
37 | self._releasecalled = False |
|
37 | self._releasecalled = False | |
38 | self._postreleasecalled = False |
|
38 | self._postreleasecalled = False | |
39 |
self.vfs = |
|
39 | self.vfs = vfsmod.vfs(dir, audit=False) | |
40 | self._pidoffset = pidoffset |
|
40 | self._pidoffset = pidoffset | |
41 |
|
41 | |||
42 | def makelock(self, *args, **kwargs): |
|
42 | def makelock(self, *args, **kwargs): |
General Comments 0
You need to be logged in to leave comments.
Login now