Skip to content

Allow for "pdb" module to be rewritten - #5920

Merged
blueyed merged 1 commit into
pytest-dev:featuresfrom
blueyed:lazy-import-pdb
Oct 6, 2019
Merged

Allow for "pdb" module to be rewritten#5920
blueyed merged 1 commit into
pytest-dev:featuresfrom
blueyed:lazy-import-pdb

Conversation

@blueyed

@blueyed blueyed commented Oct 6, 2019

Copy link
Copy Markdown
Contributor

Noticed this with tests for pdb++.

@blueyed

blueyed commented Oct 6, 2019

Copy link
Copy Markdown
Contributor Author

Note that it still tries to rewrite it (

self._warn_already_imported(name)
self._must_rewrite.update(names)
), and might succeed (likely due to the "pdb" module being re-imported explicitly in the tests).

@nicoddemus nicoddemus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing changelog, otherwise LGTM. 👍

@nicoddemus

Copy link
Copy Markdown
Member

Needs rebase once #5923 is merged

@blueyed

blueyed commented Oct 6, 2019

Copy link
Copy Markdown
Contributor Author

Missing changelog, otherwise LGTM. 

Isn't that just noise? (quite internal isn't it?).

@nicoddemus

Copy link
Copy Markdown
Member

Isn't that just noise? (quite internal isn't it?)

Fair enough. 👍

@blueyed
blueyed merged commit cd398e2 into pytest-dev:features Oct 6, 2019
@blueyed
blueyed deleted the lazy-import-pdb branch October 6, 2019 21:46
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.

3 participants