Skip to content

Conversation

@afourney
Copy link
Contributor

Fixes the following warning in Python 3.12:

./.venv/lib/python3.12/site-packages/youtube_transcript_api/test/test_cli.py:134: SyntaxWarning: invalid escape sequence '-'
parsed_args = YouTubeTranscriptCli("-v1 --v2 --v3".split())._parse_args()

Copy link
Owner

@jdepoix jdepoix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @afourney!

Thank you for your contribution!

Unfortunately, your contribution renders this test useless, but I've made a suggestion that will allows us to get rid of the PEP-8 warning!

@afourney
Copy link
Contributor Author

Ahh yes, I should have read further. Sorry about that.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 13884956709

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 13882266643: 0.0%
Covered Lines: 480
Relevant Lines: 480

💛 - Coveralls

@jdepoix jdepoix merged commit 53cd2b0 into jdepoix:master Mar 16, 2025
10 checks passed
@jdepoix
Copy link
Owner

jdepoix commented Mar 16, 2025

@afourney No worries, thank you for your contribution! 🙏

cloutprotocol pushed a commit to cloutprotocol/youtube-transcript-api that referenced this pull request Jul 22, 2025
Fixed an invalid escape sequence warning.
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