On Wed, Sep 7, 2016 at 9:12 PM, Alexander Belopolsky < alexander.belopol...@gmail.com> wrote:
> On Wed, Sep 7, 2016 at 8:14 PM, Arek Bulski <arek.bul...@gmail.com> wrote: > > > > If you want to see the declarative tests, here it is. > > https://github.com/construct/construct/blob/master/tests/test_all.py > > > So, why can't you call random.shuffle(all_tests) if you want to run your > tests in random order? It may be instructive for you to see how this functionality is implemented in CPython's own test suit: https://github.com/python/cpython/blob/276f4ef97a434d4279a2d207daa34cafcf0994f7/Lib/test/libregrtest/main.py#L230
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/