On Sat, Jul 28, 2018 at 7:15 PM Chris Jerdonek <chris.jerdo...@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.

-- 
Jeremy Kloth
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
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