nose-devs/nose — Issue #92: import bug involving plugin doctests
Author: jpellerin
Created: 2011-12-14 15:59:01+00:00
State: open

What steps will reproduce the problem?
1. tar xf import_bug_support.tar
2. cd import_bug_support
3. ./fail.sh

What is the expected output? What do you see instead?

Expected:

.
----------------------------------------------------------------------
Ran 1 test in 0.004s

OK
.
----------------------------------------------------------------------
Ran 1 test in 0.004s

OK

Got:

.
----------------------------------------------------------------------
Ran 1 test in 0.004s

OK
E
======================================================================
ERROR: test_foo (a.b.c.foo_test.FooTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/path/to/import_bug_support/a/b/c/foo_test.py", line 7, in test_foo
c.foo()
TypeError: 'module' object is not callable

----------------------------------------------------------------------
Ran 1 test in 0.005s

FAILED (errors=1)

What version of the product are you using? On what operating system?

http://python-nose.googlecode.com/svn/branches/0.10.0-stable revision 358

Please provide any additional information below.

This only happens when plugin doctests is enabled. --with-isolation
doesn't affect the outcome.

Google Code Info:
Issue #: 110
Author: j...@pobox.com
Created On: 2007-09-29T18:11:00.000Z
Closed On: