python313Packages.ptyprocess: fix tests
Removes deprecated and removed unittest module functions.
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user