Merge pull request #221506 from ethinx/pr-libtmux

python3Packages.libtmux: fix disabledTestPaths in darwin
This commit is contained in:
Weijia Wang 2023-03-16 21:12:33 +02:00 committed by GitHub
commit 5ee0f25428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -4658,6 +4658,12 @@
github = "ethindp";
githubId = 8030501;
};
ethinx = {
email = "eth2net@gmail.com";
github = "ethinx";
githubId = 965612;
name = "York Wong";
};
Etjean = {
email = "et.jean@outlook.fr";
github = "Etjean";

View File

@ -43,10 +43,14 @@ buildPythonPackage rec {
disabledTests = [
# Fail with: 'no server running on /tmp/tmux-1000/libtmux_test8sorutj1'.
"test_new_session_width_height"
] ++ lib.optionals stdenv.isDarwin [
# tests/test_pane.py:113: AssertionError
"test_capture_pane_start"
];
disabledTestPaths = lib.optionals stdenv.isDarwin [
"test_test.py"
"tests/test_test.py"
"tests/legacy_api/test_test.py"
];
pythonImportsCheck = [ "libtmux" ];