Module code is executed twice when collecting doctests · Issue #11306 · pytest-dev/pytest (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@flying-sheep

Description

@flying-sheep

Bug description and minimal example

https://github.com/flying-sheep/pytest-doctest-import-twice

Versions

OS: Arch Linux

pip list --format=json --exclude-editable | from json | to md --pretty

name version
iniconfig 2.0.0
packaging 23.1
pip 23.2.1
pluggy 1.2.0
pytest 7.4.0
setuptools 68.0.0
wheel 0.41.0

Metadata

Metadata

Labels

Development

No branches or pull requests

Issue actions