Originally reported by: **BitBucket: [amcnabb8](http://bitbucket.org/amcnabb8), GitHub: [amcnabb8](http://github.com/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. --- - Bitbucket: https://bitbucket.org/pytest-dev/pytest/issue/187