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:
parent
45ed0820a4
commit
d4c62fe65e
|
@ -6,6 +6,7 @@
|
||||||
, sniffio
|
, sniffio
|
||||||
, pytest-trio
|
, pytest-trio
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonAtLeast
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -49,6 +50,10 @@ buildPythonPackage rec {
|
||||||
"tests/python" # tries to import internal API test.test_asyncio
|
"tests/python" # tries to import internal API test.test_asyncio
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = lib.optionals (pythonAtLeast "3.11") [
|
||||||
|
"test_run_task"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"trio_asyncio"
|
"trio_asyncio"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue