Add a simple nbytes
representation in DataArrays and Dataset repr
#11316
Annotations
10 errors
Run tests:
xarray\tests\test_dataarray.py#L106
TestDataArray.test_repr
AssertionError: assert '<xarray.Data...foo: bar' == '<xarray.Data...foo: bar'
Skipping 45 identical leading characters in diff, use -v to show
Skipping 166 identical trailing characters in diff, use -v to show
- 3)> Size: 24B
? -
+ 3)> Size: 48B
? +
array([
|
Run tests:
xarray\tests\test_dataarray.py#L118
TestDataArray.test_repr_multiindex
AssertionError: assert '<xarray.Data...4 32B 1 2 1 2' == '<xarray.Data...4 32B 1 2 1 2'
Skipping 143 identical trailing characters in diff, use -v to show
- <xarray.DataArray (x: 4)> Size: 16B
? ^^
+ <xarray.DataArray (x: 4)> Size: 32B
? ^^
array([
|
Run tests:
xarray\tests\test_dataarray.py#L136
TestDataArray.test_repr_multiindex_long
AssertionError: assert '<xarray.Data...2 3 4 5 6 7 8' == '<xarray.Data...2 3 4 5 6 7 8'
Skipping 349 identical trailing characters in diff, use -v to show
- <xarray.DataArray (x: 32)> Size: 128B
? - ^
+ <xarray.DataArray (x: 32)> Size: 256B
? ^^
array([
|
Run tests:
xarray\tests\test_formatting.py#L480
TestFormatting.test_array_repr
AssertionError: assert '<xarray.Data...dinates: test' == '<xarray.Data...dinates: test'
Skipping 40 identical trailing characters in diff, use -v to show
- <xarray.DataArray (1, 2) (test: 1)> Size: 8B
? ^
+ <xarray.DataArray (1, 2) (test: 1)> Size: 4B
? ^
array([
|
Run tests:
xarray\tests\test_formatting.py#L718
test__mapping_repr[50-40-30]
AssertionError: assert '<xarray.Data...ributes: (30)' == '<xarray.Data...ributes: (30)'
- <xarray.Dataset> Size: 1kB
? ^^
+ <xarray.Dataset> Size: 640B
? ^^^
Dimensions: (coord0: 2, coord1: 2, coord2: 2, coord3: 2, coord4: 2,
coord5: 2, coord6: 2, coord7: 2, coord8: 2, coord9: 2,
coord10: 2, coord11: 2, coord12: 2, coord13: 2, coord14: 2,
coord15: 2, coord16: 2, coord17: 2, coord18: 2, coord19: 2,
coord20: 2, coord21: 2, coord22: 2, coord23: 2, coord24: 2,
coord25: 2, coord26: 2, coord27: 2, coord28: 2, coord29: 2,
coord30: 2, coord31: 2, coord32: 2, coord33: 2, coord34: 2,
coord35: 2, coord36: 2, coord37: 2, coord38: 2, coord39: 2)
Coordinates: (40)
Data variables: (40)
Attributes: (30)
|
Run tests:
xarray\tests\test_formatting.py#L718
test__mapping_repr[35-40-30]
AssertionError: assert '<xarray.Data...ributes: (30)' == '<xarray.Data...ributes: (30)'
- <xarray.Dataset> Size: 1kB
? ^^
+ <xarray.Dataset> Size: 640B
? ^^^
Dimensions: (coord0: 2, coord1: 2, coord2: 2, coord3: 2, coord4: 2,
coord5: 2, coord6: 2, coord7: 2, coord8: 2, coord9: 2,
coord10: 2, coord11: 2, coord12: 2, coord13: 2, coord14: 2,
coord15: 2, coord16: 2, coord17: 2, coord18: 2, coord19: 2,
coord20: 2, coord21: 2, coord22: 2, coord23: 2, coord24: 2,
coord25: 2, coord26: 2, coord27: 2, coord28: 2, coord29: 2,
coord30: 2, coord31: 2, coord32: 2, coord33: 2, coord34: 2,
coord35: 2, coord36: 2, coord37: 2, coord38: 2, coord39: 2)
Coordinates: (40)
Data variables: (40)
Attributes: (30)
|
Run tests:
xarray\tests\test_formatting.py#L718
test__mapping_repr[11-40-30]
AssertionError: assert '<xarray.Data...ributes: (30)' == '<xarray.Data...ributes: (30)'
- <xarray.Dataset> Size: 1kB
? ^^
+ <xarray.Dataset> Size: 640B
? ^^^
Dimensions: (coord0: 2, coord1: 2, coord2: 2, coord3: 2, coord4: 2,
coord5: 2, coord6: 2, coord7: 2, coord8: 2, coord9: 2,
coord10: 2, coord11: 2, coord12: 2, coord13: 2, coord14: 2,
coord15: 2, coord16: 2, coord17: 2, coord18: 2, coord19: 2,
coord20: 2, coord21: 2, coord22: 2, coord23: 2, coord24: 2,
coord25: 2, coord26: 2, coord27: 2, coord28: 2, coord29: 2,
coord30: 2, coord31: 2, coord32: 2, coord33: 2, coord34: 2,
coord35: 2, coord36: 2, coord37: 2, coord38: 2, coord39: 2)
Coordinates: (40)
Data variables: (40)
Attributes: (30)
|
Run tests:
xarray\tests\test_formatting.py#L718
test__mapping_repr[1-40-30]
AssertionError: assert '<xarray.Data...ributes: (30)' == '<xarray.Data...ributes: (30)'
- <xarray.Dataset> Size: 1kB
? ^^
+ <xarray.Dataset> Size: 640B
? ^^^
Dimensions: (coord0: 2, coord1: 2, coord2: 2, coord3: 2, coord4: 2,
...)
Coordinates: (40)
Data variables: (40)
Attributes: (30)
|
Run tests:
xarray\tests\test_variable.py#L1240
TestVariable.test_repr
AssertionError: assert '<xarray.Vari...foo: bar' == '<xarray.Vari...foo: bar'
Skipping 59 identical trailing characters in diff, use -v to show
- <xarray.Variable (time: 2, x: 3)> Size: 24B
? -
+ <xarray.Variable (time: 2, x: 3)> Size: 48B
? +
array([
|
Run tests
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading