Roundup Tracker - Issues

Message7848

Author schlatterbeck
Recipients rouilj, schlatterbeck
Date 2023-10-24.10:35:43
Message-id <1698143743.33.0.829120522093.issue2551296@roundup.psfhosted.org>
In-reply-to
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.
History
Date User Action Args
2023-10-24 10:35:43schlatterbecksetrecipients: + schlatterbeck, rouilj
2023-10-24 10:35:43schlatterbecksetmessageid: <1698143743.33.0.829120522093.issue2551296@roundup.psfhosted.org>
2023-10-24 10:35:43schlatterbecklinkissue2551296 messages
2023-10-24 10:35:43schlatterbeckcreate