Skip to content

Fix --trace for parametrized tests#24

Closed
blueyed wants to merge 4 commits intomy-masterfrom
mm-trace_parametrize
Closed

Fix --trace for parametrized tests#24
blueyed wants to merge 4 commits intomy-masterfrom
mm-trace_parametrize

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 force-pushed the mm-trace_parametrize branch from ad7875d to 7d384aa Compare October 30, 2019 10:28
@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.

2 participants