From 3af7a92043993c5f97d30bdd38bebe8e3b999f45 Mon Sep 17 00:00:00 2001 From: dcsena Date: Sun, 19 Mar 2023 18:27:23 -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 a31f16383..82bfe0731 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 && matrix.python-version < 4.0) || matrix.python-version == 'pypy-3.6' || matrix.python-version == 'pypy-3.7'}} + if: ${{ (matrix.python-version > 3.9 ==}} 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 6cb5d992c..4f7f364b8 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -3,7 +3,7 @@ import platform print(platform.python_implementation()) -if sys.version[0:3] > '3.5' and sys.version[0:3] < '4.0': +if sys.version[0:3] > '3.9': import unittest import yourbase