diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 295de7248..9bb3efbe6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,7 @@ jobs: if: ${{ matrix.python-impl != 'jython' }} run: pip install nose - name: Install yourbase - if: ${{ matrix.python-version > 3.5 and matrix.python-version < 4.0}} + if: ${{ matrix.python-version > 3.5 & matrix.python-version < 4.0}} run: pip install yourbase; pip install --force-reinstall coverage==6.1 - name: Install nose (Jython) if: ${{ matrix.python-impl == 'jython' }} diff --git a/test/__init__.py b/test/__init__.py index 973674eca..346b5dc3d 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -1,7 +1,7 @@ import sys -if sys.version[0:3] > '3.5': +if sys.version[0:3] > '3.5' and sys.version[0:3] < '4.0': import unittest import yourbase