Skip to content

Commit

Permalink
fix: comply to new stricter api in fake_random_ds
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Apr 15, 2021
1 parent ddb1dcd commit e162507
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion yt/utilities/lib/tests/test_geometry_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

_fields = ("density", "velocity_x", "velocity_y", "velocity_z")
_units = ("g/cm**3", "cm/s", "cm/s", "cm/s")

# TODO: error compact/spread bits for incorrect size
# TODO: test msdb for [0,0], [1,1], [2,2] etc.

Expand Down
1 change: 1 addition & 0 deletions yt/visualization/volume_rendering/tests/test_lenses.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def setUp(self):
self.curdir, self.tmpdir = None, None

self.field = ("gas", "density")
# TODO: Check this (I wrote this as self.field[1] in an earlier draft)
self.ds = fake_random_ds(32, fields=(self.field,), units=("g/cm**3",))
self.ds.index

Expand Down

0 comments on commit e162507

Please sign in to comment.