Skip to content
Discussion options

You must be logged in to vote

never mind, I can use a power shell script

Get-ChildItem -Recurse -Include *.py | 
    Select-String -Pattern "@pytest\.mark\.known_failure_IRX|\*known_failure_IRX" -Context 0,1 | 
    Select-Object Filename, @{Name="NextLine"; Expression={$_.Context.PostContext[0].Trim()}}

...

Filename                    NextLine
--------                    --------
test_Ax3DFace.py            class TestAx3dFace:
test_Ax3DPolyline.py        class TestAx3DPolyline:
test_Ax3DSolid.py           class TestAx3DSolid:
test_AxAcadSortentsTable.py class TestAcadSortentsTable:

Replies: 1 comment

Comment options

CEXT-Dan
Dec 28, 2025
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by CEXT-Dan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant