10 buildPythonPackage rec {
11 pname = "pytest-raises";
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
20 rev = "refs/tags/${version}";
21 hash = "sha256-wmtWPWwe1sFbWSYxs5ZXDUZM1qvjRGMudWdjQeskaz0=";
24 buildInputs = [ pytest ];
26 nativeCheckInputs = [ pytestCheckHook ];
28 pythonImportsCheck = [ "pytest_raises" ];
31 # Failed: nomatch: '*::test_pytest_mark_raises_unexpected_exception FAILED*'
32 # https://github.com/Lemmons/pytest-raises/issues/30
33 "test_pytest_mark_raises_unexpected_exception"
34 "test_pytest_mark_raises_unexpected_match"
35 "test_pytest_mark_raises_parametrize"
39 description = "Implementation of pytest.raises as a pytest.mark fixture";
40 homepage = "https://github.com/Lemmons/pytest-raises";
41 license = with licenses; [ mit ];
42 maintainers = with maintainers; [ fab ];