On Thu, Feb 14, 2019 at 6:48 PM Brett Cannon <br...@python.org> wrote:
> > With -j you can do parallel testing and I know I always run with that on. > But TESTFN does *attempt *to account for that > <https://github.com/python/cpython/blob/8a1657b93469580ef345c7c91738587f3d76e87d/Lib/test/support/__init__.py#L835> > by using the PID in the name. > Good to know, thanks. TESTFN aside, I was more interested in knowing if there's interest in landing something like this in test.support: def rmpath(path): "Try to remove a path regardless of its type." if os.path.isdir(path): test.support.rmtree(path) elif os.path.exists(path): test.support.unlink(path) -- Giampaolo - http://grodola.blogspot.com
_______________________________________________ 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