python311Packages.psrpcore: disable failing tests on Python 3.11

This commit is contained in:
Fabian Affolter 2023-02-28 11:12:47 +01:00
parent 95df4033fc
commit f3a39f218a

View File

@ -3,6 +3,7 @@
, cryptography
, fetchFromGitHub
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, xmldiff
}:
@ -30,11 +31,17 @@ buildPythonPackage rec {
xmldiff
];
pythonImportsCheck = [
"psrpcore"
];
disabledTests = lib.optionals (pythonAtLeast "3.11") [
# https://github.com/jborean93/psrpcore/issues/22
"test_remote_stream_options"
"test_ps_flags"
];
meta = with lib; {
description = "Library for the PowerShell Remoting Protocol (PSRP)";
homepage = "https://github.com/jborean93/psrpcore";