Skip to content

Commit

Permalink
Update pybamm/parameters/parameter_sets.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kratman authored Sep 22, 2023
1 parent 4df4850 commit 31c362d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybamm/parameters/parameter_sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self):
@staticmethod
def get_entries(group_name):
# Wrapper for the importlib version logic
if sys.version_info < (3, 10):
if sys.version_info < (3, 10): # pragma: no cover
return importlib.metadata.entry_points()[group_name]
else:
return importlib.metadata.entry_points(group=group_name)
Expand Down

0 comments on commit 31c362d

Please sign in to comment.