Merge pull request #141949 from zakame/fixes/python3-versionfinder-use-pytestCheckHook

python3Packages.versionfinder: use pytestCheckHook

authored by

Fabian Affolter and committed by
GitHub
ea31b795 93bf167c

+7 -2
+7 -2
pkgs/development/python-modules/versionfinder/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, GitPython, pytest, backoff, requests }: 1 + { lib, buildPythonPackage, fetchFromGitHub, GitPython, pytestCheckHook, backoff, requests }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "versionfinder"; ··· 17 17 ]; 18 18 19 19 checkInputs = [ 20 - pytest 20 + pytestCheckHook 21 21 requests 22 + ]; 23 + 24 + disabledTestPaths = [ 25 + # acceptance tests use the network 26 + "versionfinder/tests/test_acceptance.py" 22 27 ]; 23 28 24 29 pythonImportsCheck = [ "versionfinder" ];