python313Packages.ipdb: disable failing tests

This commit is contained in:
Martin Weinelt
2024-11-18 18:36:54 +01:00
parent b0a6dbeffc
commit 41b458bf83
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
pythonAtLeast,
pythonOlder,
decorator,
ipython,
@@ -9,7 +10,8 @@
exceptiongroup,
tomli,
setuptools,
unittestCheckHook,
pytestCheckHook,
pytest-timeout,
}:
buildPythonPackage rec {
@@ -36,12 +38,22 @@ buildPythonPackage rec {
tomli
];
nativeCheckInputs = [ unittestCheckHook ];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = ''
export HOME=$(mktemp -d)
'';
disabledTestPaths =
[
# OSError: pytest: reading from stdin while output is captured! Consider using `-s`.
"manual_test.py"
]
++ lib.optionals (pythonAtLeast "3.13") [
# tests get stuck
"tests/test_opts.py"
];
meta = with lib; {
homepage = "https://github.com/gotcha/ipdb";
description = "IPython-enabled pdb";