# HG changeset patch # User Matt Harbison # Date 1534905272 14400 # Node ID 659f010ffa7e123c2d4d55c334011b4cf81f5dc9 # Parent aec7109aeb397c744e8f934567f577cc7f04dba9 test-fastannotate: close fd before unlinking to keep Windows happy diff -r aec7109aeb39 -r 659f010ffa7e tests/test-fastannotate-revmap.py --- a/tests/test-fastannotate-revmap.py Tue Aug 21 21:43:44 2018 -0400 +++ b/tests/test-fastannotate-revmap.py Tue Aug 21 22:34:32 2018 -0400 @@ -11,8 +11,8 @@ def gettemppath(): fd, path = tempfile.mkstemp() + os.close(fd) os.unlink(path) - os.close(fd) return path def ensure(condition):