[New-bugs-announce] [issue24629] unittest.main shadows unittest.main module

Robert Collins report at bugs.python.org
Tue Jul 14 01:35:03 CEST 2015


New submission from Robert Collins:

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

----------
messages: 246704
nosy: rbcollins
priority: normal
severity: normal
status: open
title: unittest.main shadows unittest.main module

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24629>
_______________________________________


More information about the New-bugs-announce mailing list