python3Packages.pytest-trio: disable tests

This commit is contained in:
Jonathan Ringer 2020-08-16 17:31:08 -07:00
parent 79aaa4f2ae
commit f76046a7c2
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, trio, async_generator, hypothesis, outcome, pytest, pytestcov }:
, trio, python, async_generator, hypothesis, outcome, pytest }:
buildPythonPackage rec {
pname = "pytest-trio";
@ -22,14 +22,18 @@ buildPythonPackage rec {
checkInputs = [
pytest
pytestcov
hypothesis
];
# broken with pytest 5 and 6
doCheck = false;
checkPhase = ''
pytest
rm pytest.ini
PYTHONPATH=$PWD:$PYTHONPATH pytest
'';
pythonImportsCheck = [ "pytest_trio" ];
meta = with lib; {
description = "Pytest plugin for trio";
homepage = "https://github.com/python-trio/pytest-trio";