Re: [Python-Dev] Tests failing on Windows with TESTFN

2018年7月28日 19:00:02 -0700

On Sat, Jul 28, 2018 at 7:15 PM Chris Jerdonek <[email protected]> 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.
-- 
Jeremy Kloth
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to