Skip to content

Use pytest data to extract the parametrised decoration - #17881

Merged
Karthik Nadig (karthiknadig) merged 3 commits into
microsoft:mainfrom
mjpieters:parametrized_nodeids
Nov 8, 2021
Merged

Karthik Nadig (karthiknadig) merged 3 commits into
microsoft:mainfrom
mjpieters:parametrized_nodeids

Conversation

@mjpieters

Copy link
Copy Markdown

Rather than try and parse out the parametrized portion of the nodeid (delimited by square brackets but possibly containing square brackets), use native pytest item attributes to separate out the decoration.

Better solution for #17357, fixing #17676.

@ghost

Deleted user (ghost) commented Oct 30, 2021 •

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

Rather than try and parse out the parametrized portion of the nodeid (delimited by square brackets but possibly containing square brackets), use native [pytest item attributes](https://docs.pytest.org/en/6.2.x/reference.html#function) to separate out the decoration.

Better solution for microsoft#17357, fixing microsoft#17676.
Comment thread news/2 Fixes/17676.md Outdated
Co-authored-by: Karthik Nadig <[email protected]>
@karthiknadig
Karthik Nadig (karthiknadig) merged commit 251cb30 into microsoft:main Nov 8, 2021
Wes McKinney (wesm) pushed a commit to posit-dev/positron that referenced this pull request Mar 28, 2024
…ode-python#17881)

* Use pytest data to extract the parametrised decoration

Rather than try and parse out the parametrized portion of the nodeid (delimited by square brackets but possibly containing square brackets), use native [pytest item attributes](https://docs.pytest.org/en/6.2.x/reference.html#function) to separate out the decoration.

Better solution for microsoft/vscode-python#17357, fixing microsoft/vscode-python#17676.

* Add news entry

* Update news/2 Fixes/17676.md

Co-authored-by: Karthik Nadig <[email protected]>

Co-authored-by: Karthik Nadig <[email protected]>
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