Skip to content

Add child modules as attributes of parent modules. - #10338

Merged
nicoddemus merged 2 commits into
pytest-dev:mainfrom
akhilramkee:importlib-parent
Jul 1, 2023
Merged

nicoddemus merged 2 commits into
pytest-dev:mainfrom
akhilramkee:importlib-parent

Conversation

@akhilramkee

Copy link
Copy Markdown
Contributor

Failing to add child modules as attributes of parent module will prevent them from being accessible through parent module.

closes #10337

akhilramkee and others added 2 commits July 1, 2023 11:52
Failing to add child modules as attributes of parent module will
prevent them from being accessible through parent module.
@nicoddemus
nicoddemus enabled auto-merge (squash) July 1, 2023 14:55
@nicoddemus
nicoddemus merged commit 2f7415c into pytest-dev:main Jul 1, 2023
imgbot Bot pushed a commit to kkipngenokoech/pytest that referenced this pull request Apr 18, 2026
Failing to add child modules as attributes of parent module will prevent them from being accessible through parent module.

Fix pytest-dev#10337
imgbot Bot pushed a commit to kkipngenokoech/pytest that referenced this pull request Apr 18, 2026
Failing to add child modules as attributes of parent module will prevent them from being accessible through parent module.

Fix pytest-dev#10337
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AttributeError: Test modules cannot use parent module's attributes under --import-mode=importlib

3 participants