summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-05-25 23:06:51 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-05-28 16:06:52 +0000
commitf56f864b8a168115bf14e94435fd96a3a51d2bac (patch)
treea096cc710a030031ddf7add5f19cbe5c696c3a3d
parentppsspp-{sdl,sdl-wayland,qt}: Install desktop icons (diff)
downloadnixpkgs-origin/backport-234073-to-release-23.05.tar.gz
python311Packages.trio-asyncio: disable failing testorigin/backport-234073-to-release-23.05
Disabled a failing test, that has not been updated with Python 3.11 in mind. (cherry picked from commit d4c62fe65ed0fb736009d372dadeb7379bc8a911)
-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"
];