Skip to content

Commit

Permalink
Apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
dexter2206 committed Jul 10, 2024
1 parent 8e2f4a6 commit edce67c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,11 @@ def pytest_generate_tests(metafunc):
id=example["description"],
)
for example in data
]
],
)
elif "invalid_pydantic_examples" in marker_names:
data = [
example["input"]
for example in (
_load_yaml(INVALID_YAML_PROGRAMS_PATH) +
_load_yaml(INVALID_PYDANTIC_PROGRAMS_PATH)
)
for example in (_load_yaml(INVALID_YAML_PROGRAMS_PATH) + _load_yaml(INVALID_PYDANTIC_PROGRAMS_PATH))
]
metafunc.parametrize("input", data)

0 comments on commit edce67c

Please sign in to comment.