python313Packages.ptyprocess: fix tests

Removes deprecated and removed unittest module functions.
This commit is contained in:
Martin Weinelt
2024-06-17 00:37:37 +02:00
parent 51ede1ea88
commit c0333f0eee
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ buildPythonPackage rec {
];
disabledTests =
lib.optionals pythonAtLeast "3.13" [
lib.optionals (pythonAtLeast "3.13") [
# https://github.com/numpy/numpy/issues/26713
"test_iter_refcount"
]
@@ -26,6 +26,10 @@ buildPythonPackage rec {
url = "https://github.com/pexpect/ptyprocess/commit/40c1ccf3432a6787be1801ced721540e34c6cd87.patch";
hash = "sha256-IemngBqBq3QRCmVscWtsuXHiFgvTOJIIB9SyAvsqHd0=";
})
(fetchpatch {
url = "https://github.com/pexpect/ptyprocess/commit/a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch";
hash = "sha256-DEO4FbzKNAXADYocSQhhwjQTGGu9V5pqd38u1sWhpOI=";
})
];
nativeBuildInputs = [ flit-core ];