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: does not add fixture when it's a doctest [APE-1236] #1569

Merged
merged 5 commits into from
Jul 27, 2023

Conversation

nazariyv
Copy link
Contributor

What I did

My previously merged PR wouldn't have fixed the issue because the check for fixturenames was performed before the check if the item is a DoctestItem.

Previous PR: #1567

TLDR; of the issue in previous PR:

image

How I did it

made the order correct. First check if it's a DoctestItem, if not, then continue with the other check.

@vany365 vany365 changed the title fix: does not add fixture when it's a doctest fix: does not add fixture when it's a doctest [APE-1236] Jul 27, 2023
@nazariyv nazariyv marked this pull request as draft July 27, 2023 21:18
@nazariyv nazariyv marked this pull request as ready for review July 27, 2023 21:19
@fubuloubu fubuloubu enabled auto-merge (squash) July 27, 2023 21:32
@fubuloubu fubuloubu merged commit 553d08a into ApeWorX:main Jul 27, 2023
15 checks passed
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