##// END OF EJS Templates
test-fastannotate: close fd before unlinking to keep Windows happy
Matt Harbison -
r39286:659f010f default
parent child Browse files
Show More
@@ -11,8 +11,8 b' def genhsh(i):'
11
11
12 def gettemppath():
12 def gettemppath():
13 fd, path = tempfile.mkstemp()
13 fd, path = tempfile.mkstemp()
14 os.close(fd)
14 os.unlink(path)
15 os.unlink(path)
15 os.close(fd)
16 return path
16 return path
17
17
18 def ensure(condition):
18 def ensure(condition):
General Comments 0
You need to be logged in to leave comments. Login now