diff options
author | Pierre Ossman <ossman@cendio.se> | 2022-12-16 14:03:23 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2022-12-16 14:14:54 +0100 |
commit | 9ac3272d2b30fdd956f3bcc12a94083211f20a55 (patch) | |
tree | c8ffb7798acd819aa71ca0c64315424f8f5ec0f7 | |
parent | 5d17281187909afcd7dbde5b4311347f2327b44e (diff) | |
download | websockify-9ac3272d2b30fdd956f3bcc12a94083211f20a55.tar.gz |
Switch to nose2 for tests
The original nosetests is long abandoned, and doesn't work properly on
newer versions of Python.
-rw-r--r-- | .github/workflows/test.yml | 2 | ||||
-rw-r--r-- | 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" |