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:
259
259
actual = ds .cf .__repr__ ()
260
260
expected_repr = """\
261
261
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
265
265
266
- - Standard Names: air_temperature: ['air']
267
- foo_std_name: ['foo']
266
+ Standard Names: air_temperature: ['air']
267
+ foo_std_name: ['foo']
268
268
269
- - Bounds: n/a"""
269
+ Bounds: n/a"""
270
270
assert actual .endswith (dedent (expected_repr ))
271
271
272
272
@@ -895,11 +895,10 @@ def test_bounds() -> None:
895
895
896
896
# Dataset has bounds
897
897
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__ ()
903
902
904
903
# DataArray does not have bounds
905
904
expected_repr = airds .cf ["air" ].cf .__repr__ ()
You can’t perform that action at this time.
0 commit comments