We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0a4493c + f42dd13 commit a5899a6Copy full SHA for a5899a6
test/cli/test_dump.py
@@ -14,9 +14,9 @@ def test_dump_ds(self):
14
result = self.invoke_cli(["dump", TEST_NC_FILE])
15
16
# Use a regex to accommodate the differing output formats produced by
17
- # xarray 2023.8.0 and 2024.2.0.
+ # various xarray versions.
18
output_regex = r"""<xarray.Dataset>( Size: 8MB)?
19
-Dimensions: \(lon: 360, lat: 180, time: 5, bnds: 2\)
+Dimensions:\s+\((?=.*lon: 360)(?=.*lat: 180)(?=.*time: 5)(?=.*bnds: 2).*?\)
20
Coordinates:
21
\* lon \(lon\) float64 (3kB )?-179\.5 -178\.5 -177\.5 \.\.\. 177\.5 178\.5 179\.5
22
\* lat \(lat\) float64 (1kB )?-89\.5 -88\.5 -87\.5 -86\.5 \.\.\. (86\.5 )?87\.5 88\.5 89\.5
0 commit comments