##// END OF EJS Templates
py3: fix test-propertycache.py...
Mark Thomas -
r40333:d3361128 default
parent child Browse files
Show More
@@ -11,6 +11,7 b' import subprocess'
11 from mercurial import (
11 from mercurial import (
12 hg,
12 hg,
13 localrepo,
13 localrepo,
14 pycompat,
14 ui as uimod,
15 ui as uimod,
15 util,
16 util,
16 )
17 )
@@ -44,7 +45,7 b' localrepo.localrepository.testcachedunfi'
44
45
45 # Create an empty repo and instantiate it. It is important to run
46 # Create an empty repo and instantiate it. It is important to run
46 # these tests on the real object to detect regression.
47 # these tests on the real object to detect regression.
47 repopath = os.path.join(os.environ['TESTTMP'], 'repo')
48 repopath = pycompat.fsencode(os.path.join(os.environ['TESTTMP'], 'repo'))
48 assert subprocess.call(['hg', 'init', repopath]) == 0
49 assert subprocess.call(['hg', 'init', repopath]) == 0
49 ui = uimod.ui.load()
50 ui = uimod.ui.load()
50 repo = hg.repository(ui, path=repopath).unfiltered()
51 repo = hg.repository(ui, path=repopath).unfiltered()
General Comments 0
You need to be logged in to leave comments. Login now