python3Packages.pytest-raises: init at 0.11

This commit is contained in:
Fabian Affolter 2021-04-07 23:18:02 +02:00 committed by Martin Weinelt
parent cf42b2eb0f
commit 61f566d45b
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-raises";
version = "0.11";
src = fetchFromGitHub {
owner = "Lemmons";
repo = pname;
rev = version;
sha256 = "0gbb4kml2qv7flp66i73mgb4qihdaybb6c96b5dw3mhydhymcsy2";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "pytest_raises" ];
meta = with lib; {
description = "An implementation of pytest.raises as a pytest.mark fixture";
homepage = "https://github.com/Lemmons/pytest-raises";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -236,6 +236,8 @@ in {
aiocontextvars = callPackage ../development/python-modules/aiocontextvars { };
aiodiscover = callPackage ../development/python-modules/aiodiscover { };
aiodns = callPackage ../development/python-modules/aiodns { };
aioeafm = callPackage ../development/python-modules/aioeafm { };
@ -538,6 +540,8 @@ in {
async_generator = callPackage ../development/python-modules/async_generator { };
async-dns = callPackage ../development/python-modules/async-dns { };
asyncio-dgram = callPackage ../development/python-modules/asyncio-dgram { };
asyncio-mqtt = callPackage ../development/python-modules/asyncio_mqtt { };
@ -6567,6 +6571,8 @@ in {
pytest-quickcheck = self.pytestquickcheck;
pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { };
pytest-raises = callPackage ../development/python-modules/pytest-raises { };
pytest-raisesregexp = callPackage ../development/python-modules/pytest-raisesregexp { };
pytest-randomly = callPackage ../development/python-modules/pytest-randomly { };