[New-bugs-announce] [issue42932] How to handle import tripartite pacakge issue in unittest scripts for python expect mock.Mock

lizhu report at bugs.python.org
Thu Jan 14 23:53:43 EST 2021


New submission from lizhu <2541058309 at qq.com>:

Hi, all
When i use unittest to test my package which import other pacakge, however other pacakge use more and more tripartite pacakges, and it has an impact on test case, example:

occur an err: moduleNotFindErro

how to fix this issue?

----------
components: Tests
messages: 385098
nosy: lizhu
priority: normal
severity: normal
status: open
title: How to handle import tripartite pacakge  issue in unittest scripts for python expect mock.Mock
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42932>
_______________________________________


More information about the New-bugs-announce mailing list