python311Packages.trio-asyncio: disable failing test

Disabled a failing test, that has not been updated with Python 3.11 in
mind.
This commit is contained in:
Martin Weinelt 2023-05-25 23:06:51 +02:00
parent 45ed0820a4
commit d4c62fe65e
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -6,6 +6,7 @@
, sniffio
, pytest-trio
, pytestCheckHook
, pythonAtLeast
, pythonOlder
}:
@ -49,6 +50,10 @@ buildPythonPackage rec {
"tests/python" # tries to import internal API test.test_asyncio
];
disabledTests = lib.optionals (pythonAtLeast "3.11") [
"test_run_task"
];
pythonImportsCheck = [
"trio_asyncio"
];