Skip to content

Commit a2c6438

Browse files
authored
Merge pull request #330421 from Sigmanificient/pytimeparse
python312Packages.pytimeparse: drop nose dependency
2 parents 0b735a8 + 2a5dffb commit a2c6438

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pkgs/development/python-modules/pytimeparse/default.nix

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
lib,
33
buildPythonPackage,
44
fetchPypi,
5-
nose,
5+
pytestCheckHook,
66
pythonOlder,
77
setuptools,
88
}:
@@ -21,10 +21,8 @@ buildPythonPackage rec {
2121

2222
build-system = [ setuptools ];
2323

24-
# tests rely on nose
25-
doCheck = pythonOlder "3.12";
26-
27-
nativeCheckInputs = [ nose ];
24+
nativeCheckInputs = [ pytestCheckHook ];
25+
pytestFlagsArray = [ "pytimeparse/tests/testtimeparse.py" ];
2826

2927
pythonImportsCheck = [ "pytimeparse" ];
3028

0 commit comments

Comments
 (0)