Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using both the --doctest-modules and -m options causes a crash #187

Closed
pytestbot opened this issue Sep 5, 2012 · 1 comment
Closed

Using both the --doctest-modules and -m options causes a crash #187

pytestbot opened this issue Sep 5, 2012 · 1 comment
Labels
type: bug problem that needs to be addressed

Comments

@pytestbot
Copy link
Contributor

Originally reported by: BitBucket: amcnabb8, GitHub: amcnabb8


If I use both the --doctest-modules and -m options, I get the error:

INTERNALERROR> AttributeError: 'DoctestModule' object has no attribute 'obj'

I am attaching the full backtrace.

On this system, pytest was installed with the pytest-2.2.4-1.fc17.noarch RPM.


@pytestbot
Copy link
Contributor Author

Original comment by holger krekel (BitBucket: hpk42, GitHub: hpk42):


fixed on trunk.

@pytestbot pytestbot added the type: bug problem that needs to be addressed label Jun 15, 2015
fkohlgrueber pushed a commit to fkohlgrueber/pytest that referenced this issue Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug problem that needs to be addressed
Projects
None yet
Development

No branches or pull requests

1 participant