##// 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 11 from mercurial import (
12 12 hg,
13 13 localrepo,
14 pycompat,
14 15 ui as uimod,
15 16 util,
16 17 )
@@ -44,7 +45,7 b' localrepo.localrepository.testcachedunfi'
44 45
45 46 # Create an empty repo and instantiate it. It is important to run
46 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 49 assert subprocess.call(['hg', 'init', repopath]) == 0
49 50 ui = uimod.ui.load()
50 51 repo = hg.repository(ui, path=repopath).unfiltered()
General Comments 0
You need to be logged in to leave comments. Login now