Merge pull request #292556 from Net-Mist/aiounittest

python312Packages.aiounittest: fix tests by moving to pynose
This commit is contained in:
Martin Weinelt 2024-03-02 02:13:28 +01:00 committed by GitHub
commit 8511ae26c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,7 @@
, fetchFromGitHub
, pythonAtLeast
, setuptools
, nose
, pynose
, coverage
, wrapt
}:
@ -13,9 +13,6 @@ buildPythonPackage rec {
version = "1.4.2";
pyproject = true;
# requires the imp module
disabled = pythonAtLeast "3.12";
src = fetchFromGitHub {
owner = "kwarunek";
repo = pname;
@ -32,12 +29,12 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
nose
pynose
coverage
];
checkPhase = ''
nosetests
nosetests -e test_specific_test
'';
pythonImportsCheck = [ "aiounittest" ];