Skip to content

Filter fixtures from namespace during interactive debugging#627

Merged
iamdefinitelyahuman merged 1 commit intomasterfrom
fix-debug-namespace
Jun 8, 2020
Merged

Filter fixtures from namespace during interactive debugging#627
iamdefinitelyahuman merged 1 commit intomasterfrom
fix-debug-namespace

Conversation

@iamdefinitelyahuman
Copy link
Copy Markdown
Member

What I did

Filter fixtures from namespace when using --interactive flag with pytest.

How I did it

When building namespace from globals, do not include objects that have a _pytestfixturefunction member.

How to verify it

Debug something interactively.

Copy link
Copy Markdown
Collaborator

@matnad matnad left a comment

Choose a reason for hiding this comment

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

👍

@iamdefinitelyahuman iamdefinitelyahuman merged commit a21fb1b into master Jun 8, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix-debug-namespace branch June 8, 2020 16:10
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.

2 participants