File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -259,14 +259,14 @@ def test_cell_measures() -> None:
259259 actual = ds .cf .__repr__ ()
260260 expected_repr = """\
261261 Data Variables:
262- - Cell Measures: foo_measure: ['foo']
263- volume: ['foo']
264- area: n/a
262+ Cell Measures: foo_measure: ['foo']
263+ volume: ['foo']
264+ area: n/a
265265
266- - Standard Names: air_temperature: ['air']
267- foo_std_name: ['foo']
266+ Standard Names: air_temperature: ['air']
267+ foo_std_name: ['foo']
268268
269- - Bounds: n/a"""
269+ Bounds: n/a"""
270270 assert actual .endswith (dedent (expected_repr ))
271271
272272
@@ -895,11 +895,10 @@ def test_bounds() -> None:
895895
896896 # Dataset has bounds
897897 expected_repr = """\
898- - Bounds: Y: ['lat_bounds']
899- lat: ['lat_bounds']
900- latitude: ['lat_bounds']
901- """
902- assert dedent (expected_repr ) in ds .cf .__repr__ ()
898+ Bounds: Y: ['lat_bounds']
899+ lat: ['lat_bounds']
900+ latitude: ['lat_bounds']"""
901+ assert expected_repr in ds .cf .__repr__ ()
903902
904903 # DataArray does not have bounds
905904 expected_repr = airds .cf ["air" ].cf .__repr__ ()
You can’t perform that action at this time.
0 commit comments