nose-devs/nose — Issue #148: bad interaction between --exclude and --doctest-extension
Author: jpellerin
Created: 2011-12-14 16:01:50+00:00
State: closed

What steps will reproduce the problem?
1. Run nosetests with --doctest-extension and --exclude

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

The relevant part of the stack trace is this:
File
"/home/beachy/sw/lib/python/nose-0.9.2-py2.4.egg/nose/plugins/__init__.py",
line 136, in call_plugins
result = func(*arg, **kw)
File
"/home/beachy/sw/lib/python/nose-0.9.2-py2.4.egg/nose/plugins/doctests.py",
line 147, in wantFile
if (self.extension
AttributeError: 'list' object has no attribute 'search'

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

Please provide any additional information below.
Patch attached that fixes the problem.

Google Code Info:
Issue #: 52
Author: mbea...@gmail.com
Created On: 2007-04-20T15:47:48.000Z
Closed On: 2007-04-21T22:20:37.000Z