]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix broken test in test_hotshot. Treating the current directory as an
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Sat, 7 Feb 2009 14:53:31 +0000 (14:53 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Sat, 7 Feb 2009 14:53:31 +0000 (14:53 +0000)
commit8573d62f8f1ce20b0389792c1f2758f06bdad527
tree6bc4f154ed3603ae423df7b09cad89017db81a1f
parent34feea32058ce9610fbb0357661f80232f80d3e4
Fix broken test in test_hotshot.  Treating the current directory as an
empty file is sloppy and non-portable.  Use NamedTemporaryFile to make
an empty file.
Lib/test/test_hotshot.py