[issue30874] unittest execute tests twice in some conditions

Alessandro Cannini report at bugs.python.org
Fri Jul 7 23:03:49 EDT 2017


New submission from Alessandro Cannini:

Unittest execute the tests twice in some conditions.

You can see the log here: https://travis-ci.org/ale5000-git/test/builds/251382617

based on this code: https://github.com/ale5000-git/test/tree/7a64f24a8bfea0579e30346ba993744272aa9c36

The code to load tests is this:
def custom_test_suite():
    import unittest
    return unittest.TestLoader().discover("tests", pattern="*_test.py")

----------
messages: 297927
nosy: Alessandro Cannini
priority: normal
severity: normal
status: open
title: unittest execute tests twice in some conditions
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30874>
_______________________________________


More information about the Python-bugs-list mailing list