nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 395 forks source link

Module name shadows function when using --with-doctest flag #1110

Closed QLutz closed 1 week ago

QLutz commented 4 years ago

Nose version: 1.3.7 Python: 3.6 OS: Xenial

Hi,

We are having an issue highly reminiscent of this one when using the doctest flag. Adding said flag results in issues (not related to doctests) where a function name is shadowed by a module/file name. Those errors do not occur without the doctest flag.

The full log can be found here. Running the same task on OSX and Windows does not produce the same error.

Since this particular problem seems fairly old. Is there any known workaround for it?

Thanks in advance.