From 9ac3272d2b30fdd956f3bcc12a94083211f20a55 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 16 Dec 2022 14:03:23 +0100 Subject: [PATCH] Switch to nose2 for tests The original nosetests is long abandoned, and doesn't work properly on newer versions of Python. --- .github/workflows/test.yml | 2 +- test-requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8d312f..dfeb2e1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,4 +35,4 @@ jobs: if: ${{ matrix.python-version >= '3.4' && matrix.python-version < '3.7' }} - name: Run tests run: | - python setup.py nosetests --verbosity=3 + python -m nose2 --verbosity=3 diff --git a/test-requirements.txt b/test-requirements.txt index 2a5aa9c..77a3f5f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +1,4 @@ mock -nose +nose2 six wrapt<=1.12.1;python_version<="3.4"