about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2024-03-12 00:38:36 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2024-03-12 18:25:14 +0100
commit58ae9945da0fdde7514606a2f951f60c40ae6099 (patch)
tree53e5e550b29724d25f344ce4f7114588d32fe04a
parent0c0c02ced85d1a0724137dd9dce2bf7b965604ab (diff)
python311Packages.graphene-django: suppressp pytest8 warnings
-rw-r--r--pkgs/development/python-modules/graphene-django/default.nix5
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"