diff --git a/pkgs/development/python-modules/starlette/default.nix b/pkgs/development/python-modules/starlette/default.nix index d802a230003..94513e5d620 100644 --- a/pkgs/development/python-modules/starlette/default.nix +++ b/pkgs/development/python-modules/starlette/default.nix @@ -15,7 +15,6 @@ , databases , pytestCheckHook , pytest-asyncio -, pytestcov , typing-extensions , ApplicationServices }: @@ -46,12 +45,14 @@ buildPythonPackage rec { checkInputs = [ aiosqlite databases + pytest-asyncio pytestCheckHook typing-extensions ]; - pytestFlagsArray = [ "--ignore=tests/test_graphql.py" ]; - + disabledTestFiles = [ "tests/test_graphql.py" ]; + # https://github.com/encode/starlette/issues/1131 + disabledTests = [ "test_debug_html" ]; pythonImportsCheck = [ "starlette" ]; meta = with lib; {