Merge pull request #292556 from Net-Mist/aiounittest
python312Packages.aiounittest: fix tests by moving to pynose
This commit is contained in:
commit
8511ae26c1
1 changed files with 3 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pythonAtLeast
|
, pythonAtLeast
|
||||||
, setuptools
|
, setuptools
|
||||||
, nose
|
, pynose
|
||||||
, coverage
|
, coverage
|
||||||
, wrapt
|
, wrapt
|
||||||
}:
|
}:
|
||||||
|
@ -13,9 +13,6 @@ buildPythonPackage rec {
|
||||||
version = "1.4.2";
|
version = "1.4.2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
# requires the imp module
|
|
||||||
disabled = pythonAtLeast "3.12";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kwarunek";
|
owner = "kwarunek";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
|
@ -32,12 +29,12 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
nose
|
pynose
|
||||||
coverage
|
coverage
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
nosetests
|
nosetests -e test_specific_test
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "aiounittest" ];
|
pythonImportsCheck = [ "aiounittest" ];
|
||||||
|
|
Loading…
Reference in a new issue