[Python-Dev] Tests failing on Windows with TESTFN (original) (raw)
Jeremy Kloth jeremy.kloth at gmail.com
Sat Jul 28 21:57:06 EDT 2018
- Previous message (by thread): [Python-Dev] Tests failing on Windows with TESTFN
- Next message (by thread): [Python-Dev] Tests failing on Windows with TESTFN
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, Jul 28, 2018 at 7:15 PM Chris Jerdonek <chris.jerdonek at gmail.com> wrote:
Regardless of whether the tempfile or TESTFN approach is used, I think it would be best for a few reasons if the choice is abstracted behind a uniquely named test function (e.g. maketestfile if not already used).
+1, although my particular choice of color would be to add a pair of functions, mkstemp and mkdtemp, to match the style of test.support-wrapped library functions for use in the test harness.
-- Jeremy Kloth
- Previous message (by thread): [Python-Dev] Tests failing on Windows with TESTFN
- Next message (by thread): [Python-Dev] Tests failing on Windows with TESTFN
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]