filtering python version

This commit is contained in:
dcsena 2023-03-19 17:54:43 -04:00
commit cba227b605
2 changed files with 8 additions and 3 deletions

View file

@ -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' }}

View file

@ -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)