From 6c10dabd3f431a49c932457227a828d5e0ec37cc Mon Sep 17 00:00:00 2001 From: dcsena Date: Sun, 19 Mar 2023 18:13:20 -0400 Subject: [PATCH] refactoring --- .github/workflows/ci.yml | 2 +- test/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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