Skip to content

Commit

Permalink
tests: fix mistake on older Pythons
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Jan 28, 2024
1 parent 574f0af commit 6d3a20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def test_schema_entrypoint() -> None:
if sys.version_info < (3, 10):
eps = importlib.metadata.entry_points()["validate_pyproject.tool_schema"]
(black_ep,) = [ep for ep in eps if ep.name == "wheel"]
(black_ep,) = [ep for ep in eps if ep.name == "black"]
else:
(black_ep,) = importlib.metadata.entry_points(
group="validate_pyproject.tool_schema", name="black"
Expand Down

0 comments on commit 6d3a20b

Please sign in to comment.