summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/trio-asyncio/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/trio-asyncio/default.nix')
-rw-r--r--pkgs/development/python-modules/trio-asyncio/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/trio-asyncio/default.nix b/pkgs/development/python-modules/trio-asyncio/default.nix
index 127da2d4766f..3585e2519918 100644
--- a/pkgs/development/python-modules/trio-asyncio/default.nix
+++ b/pkgs/development/python-modules/trio-asyncio/default.nix
@@ -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"
];