This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: unittest.main shadows unittest.main module
Type: enhancement Stage:
Components: Versions: Python 3.6
process
Status: closed Resolution: duplicate
Dependencies: Superseder: unittest.__init__:main shadows unittest.main
View: 22858
Assigned To: Nosy List: r.david.murray, rbcollins
Priority: normal Keywords:

Created on 2015-07-13 23:35 by rbcollins, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg246704 - (view) Author: Robert Collins (rbcollins) * (Python committer) Date: 2015-07-13 23:35
this is a bad practice - it interferes with test discovery and with the use of mock (see https://github.com/testing-cabal/mock/issues/250).

We could move main.py to mainmod.py or something
msg246705 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2015-07-14 01:01
I think you forgot about issue 22858.
History
Date User Action Args
2022-04-11 14:58:18adminsetgithub: 68817
2015-07-14 08:13:22martin.pantersetstatus: open -> closed
2015-07-14 01:03:46rbcollinssetsuperseder: unittest.__init__:main shadows unittest.main
resolution: duplicate
2015-07-14 01:01:12r.david.murraysetnosy: + r.david.murray
messages: + msg246705
2015-07-13 23:35:32rbcollinssettype: enhancement
versions: + Python 3.6
2015-07-13 23:35:03rbcollinscreate