[Tutor] Order of unittests

Oscar Benjamin oscar.j.benjamin at gmail.com
Tue Oct 12 05:44:07 EDT 2021


On Tue, 12 Oct 2021 at 10:34, Albert-Jan Roskam <sjeik_appie at hotmail.com>
wrote:

>    Hmmmm, this works, though it does not look pretty.
>    import unittest
>

Outside of the stdlib I would just use pytest rather than unittest. I
always found unittest awkward because it is designed around Java idioms
that don't come naturally to me. I don't think that unittest is as widely
used as pytest in the wider python ecosystem mostly for this reason.

--
Oscar


More information about the Tutor mailing list