Skip to content

Commit 99f8008

Browse files
committed
TST: Wrap deprecated shape setting in warns block (astropy#19133)
1 parent 7cc5a2c commit 99f8008

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎astropy/coordinates/tests/test_representation_methods.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ def test_shape_setting(self):
249249
# Shape-setting should be on the object itself, since copying removes
250250
# zero-strides due to broadcasting. Hence, this should be the only
251251
# test in this class.
252+
252253
self.s0.shape = (2, 3, 7)
253254
assert self.s0.shape == (2, 3, 7)
254255
assert self.s0.lon.shape == (2, 3, 7)

0 commit comments

Comments
 (0)