diff options
Diffstat (limited to 'pkgs/development/python-modules/sphinx-rtd-dark-mode/default.nix')
-rw-r--r-- | pkgs/development/python-modules/sphinx-rtd-dark-mode/default.nix | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/sphinx-rtd-dark-mode/default.nix b/pkgs/development/python-modules/sphinx-rtd-dark-mode/default.nix index 98b962b1f4b79..863f93848846d 100644 --- a/pkgs/development/python-modules/sphinx-rtd-dark-mode/default.nix +++ b/pkgs/development/python-modules/sphinx-rtd-dark-mode/default.nix @@ -2,7 +2,7 @@ buildPythonPackage, fetchFromGitHub, lib, - pynose, + pytestCheckHook, setuptools, sphinx, sphinx-rtd-theme, @@ -25,17 +25,11 @@ buildPythonPackage rec { dependencies = [ sphinx-rtd-theme ]; nativeCheckInputs = [ - pynose + pytestCheckHook sphinx ]; - checkPhase = '' - runHook preCheck - - nosetests tests - - runHook postCheck - ''; + pytestFlagsArray = [ "tests/build.py" ]; pythonImportsCheck = [ "sphinx_rtd_dark_mode" ]; |