[Python-Dev] Tests failing on Windows with TESTFN
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. make_test_file 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.