Mercurial > hgsubversion
diff tests/test_binaryfiles.py @ 629:c38fe89a5cbc
tests: Use tempfile.TemporaryFile instead of os.tmpfile() to redirect stdout.
os.tmpfile requires administrator privileges on Windows XP and may be blocked
by UAC on Windows Vista/7. In any case, it is deprecated in favour of
tempfile.TemporaryFile. See http://bugs.python.org/issue2232
author | James McKay <code@jamesmckay.net> |
---|---|
date | Sun, 04 Jul 2010 21:41:42 +0100 |
parents | 906d3f302b45 |
children | d2ef7220a079 |