diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6950871af..6335b67f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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' }} diff --git a/test/__init__.py b/test/__init__.py index 716993420..a080fcf8b 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -1,4 +1,8 @@ -import unittest -import yourbase +import sys -yourbase.attatch(unittest) \ No newline at end of file + +if sys.version[0:3] > '3.5': + import unittest + import yourbase + + yourbase.attatch(unittest) \ No newline at end of file