Skip to content

Commit

Permalink
TST: fix a shadow test
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Sep 24, 2023
1 parent b94a81a commit 49da21b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sirepo_bluesky/tests/test_shadow.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_shadow_with_run_engine(RE, db, shadow_tes_simulation, num_steps=5):

# Check that an average values of the first and last images are right:
assert np.allclose(w9_image[0].mean(), 0.0)
assert np.allclose(w9_image[-1].mean(), 0.255665516042795)
assert np.allclose(w9_image[-1].mean(), 0.255665516042795, atol=1e-3)

# Check that the values from the table and averages from the image data are
# the same:
Expand Down

0 comments on commit 49da21b

Please sign in to comment.