python312Packages.aspectlib: ignore deprecation warnings in tests

This commit is contained in:
natsukium 2023-12-08 15:14:07 +09:00 committed by Martin Weinelt
parent 7995ab1706
commit d903bdedd6
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -16,7 +16,7 @@ buildPythonPackage rec {
disabled = pythonOlder "3.7";
format = "pyproject";
pyproject = true;
src = fetchPypi {
inherit pname version;
@ -47,12 +47,16 @@ buildPythonPackage rec {
"aspectlib.test"
];
checkInputs = [
nativeCheckInputs = [
process-tests
pytestCheckHook
tornado
];
pytestFlagsArray = [
"-W ignore::DeprecationWarning"
];
__darwinAllowLocalNetworking = true;
meta = {