Skip to content

Commit

Permalink
[tests] Update test_sample_function
Browse files Browse the repository at this point in the history
  • Loading branch information
holl- committed Sep 8, 2024
1 parent a1f2c4d commit db908c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/commit/field/test__grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def test_sample_function(self):
# Varargs
grid = CenteredGrid(lambda *x: x[0], x=10, y=10)
math.assert_close(grid.points['x'], grid.values)
grid = CenteredGrid(lambda t, *x: t, t=5, x=10, y=10)
grid = CenteredGrid(lambda t, x, y: t, t=5, x=10, y=10)
math.assert_close(grid.points['t'], grid.values)

def test_is_phi_tree_node(self):
Expand Down

0 comments on commit db908c2

Please sign in to comment.