[tests] Use Unicode headers and Python 3.11 for lint

This commit is contained in:
Shubham Padkonde 2026-10-31 10:46:10 +05:30
parent 496d04dcac
commit ef71278dc2
2 changed files with 5 additions and 2 deletions

View file

@ -474,7 +474,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11
- name: Install flake8
run: pip install flake8
- name: Run flake8

View file

@ -13,7 +13,10 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from test.helper import FakeLogger, http_server_port
from youtube_dl import YoutubeDL
from youtube_dl.compat import compat_http_server
from youtube_dl.compat import (
compat_http_server,
compat_str as str,
)
from youtube_dl.downloader.dash import DashSegmentsFD