Skip to content

Commit

Permalink
CLN: Collapse some dicts to a single line
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Jan 3, 2024
1 parent 525d818 commit e641dce
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions test/test_feature_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,26 +105,13 @@ def test_pde_library_bad_parameters(params):
@pytest.mark.parametrize(
"params",
[
dict(
spatiotemporal_grid=range(10),
p=-1,
),
dict(
spatiotemporal_grid=range(10),
H_xt=-1,
),
dict(
spatiotemporal_grid=range(10),
H_xt=11,
),
dict(
spatiotemporal_grid=range(10),
K=-1,
),
dict(spatiotemporal_grid=range(10), p=-1),
dict(spatiotemporal_grid=range(10), H_xt=-1),
dict(spatiotemporal_grid=range(10), H_xt=11),
dict(spatiotemporal_grid=range(10), K=-1),
dict(),
dict(
spatiotemporal_grid=np.asarray(np.meshgrid(range(10), range(10))).T,
H_xt=-1,
spatiotemporal_grid=np.asarray(np.meshgrid(range(10), range(10))).T, H_xt=-1
),
dict(
spatiotemporal_grid=np.transpose(
Expand Down

0 comments on commit e641dce

Please sign in to comment.