From 5d3e681a1e5ee6e7d9ae12018b6f740ab5d1d855 Mon Sep 17 00:00:00 2001 From: Pavol Juhas Date: Thu, 6 Jul 2023 18:49:28 -0700 Subject: [PATCH] Remove unused warnings filter for pytest (#6186) Rules were verified as non-matching in all unit tests. Clean up after #4737 which does not bite anymore. --- conftest.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/conftest.py b/conftest.py index b23e1c70b02..885e0b55f7b 100644 --- a/conftest.py +++ b/conftest.py @@ -15,21 +15,6 @@ import pytest -def pytest_configure(config): - # Ignore deprecation warnings in python code generated from our protobuf definitions. - # Eventually, the warnings will be removed by upgrading protoc compiler. See issues - # #4161 and #4737. - for f in ( - "FieldDescriptor", - "Descriptor", - "EnumDescriptor", - "EnumValueDescriptor", - "FileDescriptor", - "OneofDescriptor", - ): - config.addinivalue_line("filterwarnings", f"ignore:Call to deprecated create function {f}") - - def pytest_addoption(parser): parser.addoption( "--rigetti-integration",