-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
plugin: doctestsrelated to the doctests builtin pluginrelated to the doctests builtin plugintopic: collectionrelated to the collection phaserelated to the collection phasetype: bugproblem that needs to be addressedproblem that needs to be addressed
Description
When testing packages with implicit namespace and using --doctest-module the doc test module is imported without the implicit namespace.
This causes problems as the module can gets imported with different name. Once with the proper path and once with missing the namespace.
My pytest related versions:
pytest (3.5.0)
pytest-attrib (0.1.3)
pytest-cov (2.5.1)
pytest-forked (0.2)
pytest-timeout (1.2.1)
pytest-xdist (1.22.2)
OS is Windows 7.
Please look at the example:
punitchandra, Congee, tuukkamustonen and jaraco
Metadata
Metadata
Assignees
Labels
plugin: doctestsrelated to the doctests builtin pluginrelated to the doctests builtin plugintopic: collectionrelated to the collection phaserelated to the collection phasetype: bugproblem that needs to be addressedproblem that needs to be addressed