From fd4443901ac18e0c369bad8c65ae3339a9d59cbb Mon Sep 17 00:00:00 2001 From: Felipe Reyes Date: Fri, 1 Apr 2022 09:35:32 -0300 Subject: [PATCH] Drop nose in favor of nose2. nose is broken for python>=3.10 and upstream has indicated that it's deprecated[0]. nose2 is, in spirit, the successor. [0] https://github.com/nose-devs/nose/issues/1118#issuecomment-1061887733 --- test-requirements.txt | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 0f7b0f5..99b1c32 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,4 +4,4 @@ coverage==3.7.1 flake8==2.4.0 mock==1.0.1 -nose==1.3.6 +nose2 diff --git a/tox.ini b/tox.ini index 483803c..a23637b 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,7 @@ envlist = py27, py3 [testenv] setenv = PYTHONPATH = {toxinidir}:{toxinidir}/jujubundlelib -commands = nosetests {posargs:--quiet} +commands = nose2 {posargs:--quiet} deps = -r{toxinidir}/test-requirements.txt