Skip to content

Commit

Permalink
remove read-only from asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Nov 8, 2024
1 parent a45f2c5 commit 1a84d41
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions asdf/_tests/test_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ def do_asserts(ff):

assert_array_equal(ff.tree["science_data"], exttree["cool_stuff"]["a"])
assert len(ff._external_asdf_by_uri) == 1
with pytest.raises((ValueError, RuntimeError), match=r"assignment destination is read-only"):
# Assignment destination is readonly
ff.tree["science_data"][0] = 42

assert_array_equal(ff.tree["science_data2"], exttree["cool_stuff"]["a"])
assert len(ff._external_asdf_by_uri) == 2
Expand Down

0 comments on commit 1a84d41

Please sign in to comment.