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 --trace for parametrized tests #24

Closed
wants to merge 4 commits into from
Closed

Conversation

blueyed
Copy link
Owner

@blueyed blueyed commented Oct 30, 2019

davidszotten and others added 3 commits October 30, 2019 08:55
Without this, the second time it tries to stop in a parametrized
function it raises instead:

`ValueError: --trace can't be used with a fixture named func!`

> RonnyPfannschmidt
>
>practically this belongs to the FunctionDefininition (and should only happen once at that)
>unfortunately with the current design that's not exposed and we have a hack instead
>
>the ""correct" fix is not to have more than one place where this is added, but that's for after FunctionDefinition lands

Co-Authored-By: Ronny Pfannschmidt <opensource@ronnypfannschmidt.de>
@blueyed blueyed closed this Oct 30, 2019
@blueyed blueyed deleted the mm-trace_parametrize branch October 30, 2019 22:28
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.

None yet

2 participants