mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-22 22:34:01 -07:00
filtering python version
This commit is contained in:
parent
3bf798a0f4
commit
cba227b605
2 changed files with 8 additions and 3 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -56,6 +56,7 @@ jobs:
|
||||||
if: ${{ matrix.python-impl != 'jython' }}
|
if: ${{ matrix.python-impl != 'jython' }}
|
||||||
run: pip install nose
|
run: pip install nose
|
||||||
- name: Install yourbase
|
- name: Install yourbase
|
||||||
|
if: ${{ matrix.python-version > 3.5 }}
|
||||||
run: pip install yourbase
|
run: pip install yourbase
|
||||||
- name: Install nose (Jython)
|
- name: Install nose (Jython)
|
||||||
if: ${{ matrix.python-impl == 'jython' }}
|
if: ${{ matrix.python-impl == 'jython' }}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
if sys.version[0:3] > '3.5':
|
||||||
import unittest
|
import unittest
|
||||||
import yourbase
|
import yourbase
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue