Skip to content

Commit 563f262

Browse files
committed
test: replace nose by nose2 for tests
1 parent e81b851 commit 563f262

3 files changed

Lines changed: 3 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@ jobs:
2929
run: |
3030
python setup.py install
3131
- name: Test nose
32-
# nose is not python >=3.10 compliant
33-
if: ${{ matrix.python-version == 3.8 || matrix.python-version == 3.9 }}
3432
run: |
3533
pip install -r test-requirements.txt
36-
make test_nose
37-
- name: Test nose2
38-
if: ${{ matrix.python-version != 3.8 && matrix.python-version != 3.9 }}
39-
run: |
40-
pip install -r test-requirements.txt
41-
make test_nose2
34+
make test

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ clean:
2222
sdist: clean
2323
python setup.py sdist
2424

25-
test_nose:
26-
flake8 cronwrapper tests
27-
cd tests && nosetests --exe
28-
29-
test_nose2:
25+
test:
3026
flake8 cronwrapper tests
3127
cd tests && nose2
3228

test-requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
-r requirements.txt
2-
nose>=1.3.7 ; python_version < "3.10"
3-
nose2 ; python_version >= "3.10"
2+
nose2
43
flake8

0 commit comments

Comments
 (0)