Skip to content

Commit 458ab76

Browse files
committed
Manually trigger creation of index
1 parent 1102039 commit 458ab76

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

yt/visualization/volume_rendering/tests/test_composite.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ def tearDown(self):
4444
def test_composite_vr(self):
4545
ds = fake_random_ds(64)
4646
dd = ds.sphere(ds.domain_center, 0.45 * ds.domain_width[0])
47+
48+
# Trigger creation of index
49+
ds.index
4750
ds.field_info[ds.field_list[0]].take_log = False
4851

4952
sc = Scene()

yt/visualization/volume_rendering/tests/test_points.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ def tearDown(self):
4242
def test_points_vr(self):
4343
ds = fake_random_ds(64)
4444
dd = ds.sphere(ds.domain_center, 0.45 * ds.domain_width[0])
45+
46+
# Trigger creation of index
47+
ds.index
4548
ds.field_info[ds.field_list[0]].take_log = False
4649

4750
sc = Scene()

yt/visualization/volume_rendering/tests/test_zbuff.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def tearDown(self):
5353
def test_composite_vr(self):
5454
ds = fake_random_ds(64)
5555
dd = ds.sphere(ds.domain_center, 0.45 * ds.domain_width[0])
56+
# Trigger creation of index
57+
ds.index
5658
ds.field_info[ds.field_list[0]].take_log = False
5759

5860
sc = Scene()

0 commit comments

Comments
 (0)