Skip to content

Commit

Permalink
remove unused _get_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Feb 19, 2024
1 parent 62557a1 commit 87c9baa
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,6 @@ def docs_manifest_ids():
return result


def _get_tag(schema):
if "tag" in schema:
return schema["tag"]
elif "anyOf" in schema:
for elem in schema["anyOf"]:
if "tag" in elem:
return elem["tag"]
return None


@pytest.fixture(scope="session")
def id_to_schema(schemas):
result = {}
Expand Down

0 comments on commit 87c9baa

Please sign in to comment.