mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-22 14:24:03 -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' }}
|
||||
run: pip install nose
|
||||
- name: Install yourbase
|
||||
if: ${{ matrix.python-version > 3.5 }}
|
||||
run: pip install yourbase
|
||||
- name: Install nose (Jython)
|
||||
if: ${{ matrix.python-impl == 'jython' }}
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
import unittest
|
||||
import yourbase
|
||||
import sys
|
||||
|
||||
yourbase.attatch(unittest)
|
||||
|
||||
if sys.version[0:3] > '3.5':
|
||||
import unittest
|
||||
import yourbase
|
||||
|
||||
yourbase.attatch(unittest)
|
Loading…
Add table
Add a link
Reference in a new issue