Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter fixtures from namespace during interactive debugging #627

Merged
merged 1 commit into from
Jun 8, 2020

Conversation

iamdefinitelyahuman
Copy link
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
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