Last active
February 5, 2024 20:59
-
-
Save jjwatt/7db629d45dd3703c962232882ff85f01 to your computer and use it in GitHub Desktop.
replace pytest marks with pytest skips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
find -type f -name '*.py' -print0 \ | |
| xargs -0 gawk -i inplace '/# @pytest.mark.github/ {$0=$0"\n @pytest.mark.skip(reason=\"deprecate gh marks\")"} 1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment