Skip to content

Commit

Permalink
Remove unused warnings filter for pytest (#6186)
Browse files Browse the repository at this point in the history
Rules were verified as non-matching in all unit tests.

Clean up after #4737 which does not bite anymore.
  • Loading branch information
pavoljuhas committed Jul 7, 2023
1 parent 56259e4 commit 5d3e681
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions conftest.py
Expand Up @@ -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",
Expand Down

0 comments on commit 5d3e681

Please sign in to comment.