diff options
author | dirkf <[email protected]> | 2023-07-13 20:14:50 +0100 |
---|---|---|
committer | dirkf <[email protected]> | 2023-07-18 10:50:46 +0100 |
commit | 1d8d5a93f7187438587c3a754b53fdf30322cef0 (patch) | |
tree | 742e29d44245efcb5db44a0a5e70b5c9675c4074 /.github | |
parent | 1634b1d61efa36c31c86b8c64c88dc297a7af28a (diff) | |
download | youtube-dl-1d8d5a93f7187438587c3a754b53fdf30322cef0.tar.gz youtube-dl-1d8d5a93f7187438587c3a754b53fdf30322cef0.zip |
[test] Fixes for old Pythons
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce878c1b1..c3aabde47 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -301,7 +301,7 @@ jobs: if: ${{ matrix.python-version == '2.6' }} shell: bash run: | - # see pip for Jython + # Work around deprecation of support for non-SNI clients at PyPI CDN (see https://status.python.org/incidents/hzmjhqsdjqgb) $PIP -qq show unittest2 || { \ for u in "65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl" \ "f2/94/3af39d34be01a24a6e65433d19e107099374224905f1e0cc6bbe1fd22a2f/argparse-1.4.0-py2.py3-none-any.whl" \ @@ -312,7 +312,7 @@ jobs: $PIP install ${u##*/}; \ done; } # make tests use unittest2 - for test in ./test/test_*.py; do + for test in ./test/test_*.py ./test/helper.py; do sed -r -i -e '/^import unittest$/s/test/test2 as unittest/' "$test" done #-------- nose -------- |