[issue45229] Always use unittest for collecting tests in regrtests
Serhiy Storchaka
report at bugs.python.org
Thu Sep 30 08:08:49 EDT 2021
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
Seems this is not a new bug:
$ ./python -m test test_datetime test_datetime -m test_divide_and_round
0:00:00 load avg: 2.36 Run tests sequentially
0:00:00 load avg: 2.36 [1/2] test_datetime
0:00:00 load avg: 2.36 [2/2] test_datetime
test test_datetime failed -- Traceback (most recent call last):
File "/home/serhiy/py/cpython3.9/Lib/test/datetimetester.py", line 88, in test_divide_and_round
dar = datetime_module._divide_and_round
AttributeError: module 'datetime' has no attribute '_divide_and_round'
test_datetime failed (1 error)
== Tests result: FAILURE ==
But for some causes it was not reproduced with refleak tests.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45229>
_______________________________________
More information about the Python-bugs-list
mailing list