Message7848
test/test_hyperdbvals.py has
from mock import Mock
in the commit
changeset: 7212:76a21cf791b9
Where do I get this from?
My standard python 3.11.2 (debian stable aka bookworm) doesn't have it:
>>> from mock import Mock
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'mock'
But it seems to be in unittest:
>>> from unittest.mock import Mock
>>>
But I'm unsure if this is the same thing. |
|
Date |
User |
Action |
Args |
2023-10-24 10:35:43 | schlatterbeck | set | recipients:
+ schlatterbeck, rouilj |
2023-10-24 10:35:43 | schlatterbeck | set | messageid: <1698143743.33.0.829120522093.issue2551296@roundup.psfhosted.org> |
2023-10-24 10:35:43 | schlatterbeck | link | issue2551296 messages |
2023-10-24 10:35:43 | schlatterbeck | create | |
|