Commit 71be476e authored by Joseph Fox-Rabinovitz's avatar Joseph Fox-Rabinovitz
Browse files

python313Packages.pytest-assume: init at 2.4.3

parent deae8944
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytest,
  pytestCheckHook,
  six,
}:

buildPythonPackage rec {
  pname = "pytest-assume";
  version = "2.4.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "astraw38";
    repo = "pytest-assume";
    tag = "v${version}";
    sha256 = "sha256-QIwETun/n8SnBzK/axWiVTcuWiJ0ph3+2pQYVRMmVWI=";
  };

  build-system = [ setuptools ];

  buildInputs = [ pytest ];

  dependencies = [ six ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "pytest_assume" ];

  meta = {
    description = "Pytest plugin that allows multiple failures per test";
    homepage = "https://github.com/astraw38/pytest-assume";
    changelog = "https://github.com/astraw38/pytest-assume/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ jfr ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -15271,6 +15271,8 @@ self: super: with self; {
  pytest-arraydiff = callPackage ../development/python-modules/pytest-arraydiff { };
  pytest-assume = callPackage ../development/python-modules/pytest-assume { };
  pytest-astropy = callPackage ../development/python-modules/pytest-astropy { };
  pytest-astropy-header = callPackage ../development/python-modules/pytest-astropy-header { };