Skip to content

Commit

Permalink
test: check allocated
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr authored Aug 22, 2024
1 parent 4173070 commit 04c247a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_deprecated.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,7 @@ def test_photon_array_depr():
# jax-galsim needs to set 0
photon_array.time = 0.0
# jax-galsim is allocated now
assert photon_array.hasAllocatedTimes()
else:
t = check_dep(getattr, photon_array, 'time')
assert photon_array.hasAllocatedTimes()
Expand Down

0 comments on commit 04c247a

Please sign in to comment.