diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-03-12 00:38:36 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-03-12 18:25:14 +0100 |
commit | 58ae9945da0fdde7514606a2f951f60c40ae6099 (patch) | |
tree | 53e5e550b29724d25f344ce4f7114588d32fe04a | |
parent | 0c0c02ced85d1a0724137dd9dce2bf7b965604ab (diff) |
python311Packages.graphene-django: suppressp pytest8 warnings
-rw-r--r-- | pkgs/development/python-modules/graphene-django/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/graphene-django/default.nix b/pkgs/development/python-modules/graphene-django/default.nix index 6b6527c3bbd97..64d07a538429b 100644 --- a/pkgs/development/python-modules/graphene-django/default.nix +++ b/pkgs/development/python-modules/graphene-django/default.nix @@ -61,6 +61,11 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + # pytest.PytestRemovedIn8Warning: Passing None has been deprecated. + "-W" "ignore::pytest.PytestRemovedIn8Warning" + ]; + disabledTests = lib.optionals (pythonAtLeast "3.11") [ # Python 3.11 support, https://github.com/graphql-python/graphene-django/pull/1365 "test_django_objecttype_convert_choices_enum_naming_collisions" |