Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
BalzaniEdoardo committed Feb 1, 2025
1 parent df910f8 commit 55c2f85
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,12 @@ def __repr__(self):
# Falsey values excluded2
(Example(a=0, b=[], c={}), None, [], "Example(a=0, d=1)"),
# function without the __name__
(nmo.observation_models.PoissonObservations(deepcopy(jax.numpy.exp)),None, [], "PoissonObservations(inverse_link_function=<PjitFunction>)")
(
nmo.observation_models.PoissonObservations(deepcopy(jax.numpy.exp)),
None,
[],
"PoissonObservations(inverse_link_function=<PjitFunction>)",
),
],
)
def test_format_repr(obj, exclude_keys, use_name_keys, expected):
Expand Down

0 comments on commit 55c2f85

Please sign in to comment.