Skip to content

Commit 4e126a3

Browse files
set context
1 parent 1c508e8 commit 4e126a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_capi.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,9 @@ class Cells(xo.Struct):
623623
ids = xo.Int64[:]
624624
particles = xo.Int64[:][:]
625625

626-
cells = Cells(ids=cell_ids, particles=particle_per_cell)
626+
cells = Cells(
627+
ids=cell_ids, particles=particle_per_cell, _context=test_context
628+
)
627629

628630
# Data layout (displayed as uint64):
629631
#

0 commit comments

Comments
 (0)