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

fix #919 - protect against pytest item with no funcargs #1249

Merged
merged 3 commits into from
May 15, 2020

Conversation

alexcjohnson
Copy link
Collaborator

@alexcjohnson alexcjohnson commented May 15, 2020

In #919 the error seems to be that some item arguments, when you're running pytest with other plugins, don't have a funcargs attribute. I don't see any documentation of this attribute, but it seems harmless to just skip any item without it - this is only a post-failure extra diagnostic anyway.

  • I have added entry in the CHANGELOG.md

@alexcjohnson
Copy link
Collaborator Author

@tophers42 @finnhacks42 @wahchi would one of you be able to test with this patch and see whether it solves the issue with pytest-flake8 and pytest-black?

@tophers42
Copy link

Thanks @alexcjohnson I applied your patch locally and it fixes my issue with pytest-black. Change LGTM.

@alexcjohnson alexcjohnson merged commit 71a233b into dev May 15, 2020
@alexcjohnson alexcjohnson deleted the 919-pytest-flake8 branch May 15, 2020 18:32
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