Created
July 17, 2013 00:07
-
-
Save derekbrokeit/6016419 to your computer and use it in GitHub Desktop.
h5py failure on opensuse. hdf5 (1.8.11) and python (2.7.4) built by linuxbrew Same as: https://github.com/h5py/h5py/issues/304
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...........................................sss...............................................E.....EFF..F....F.Es.......................................................................................x............................................. | |
====================================================================== | |
ERROR: test_create_scale (h5py._hl.tests.test_dimension_scales.TestDimensionManager) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/derekt/.linuxbrew/lib/python2.7/site-packages/h5py/_hl/tests/test_dimension_scales.py", line 101, in test_create_scale | |
self.assertEqual(self.f['data'].dims[2]['foobar'], self.f['x1']) | |
File "/home/derekt/.linuxbrew/lib/python2.7/site-packages/h5py/_hl/dims.py", line 54, in __getitem__ | |
raise KeyError('%s not found' % item) | |
KeyError: 'foobar not found' | |
====================================================================== | |
ERROR: test_get_dimension_scale (h5py._hl.tests.test_dimension_scales.TestDimensionsHighLevel) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/derekt/.linuxbrew/lib/python2.7/site-packages/h5py/_hl/tests/test_dimension_scales.py", line 165, in test_get_dimension_scale | |
self.assertEqual(self.f['data'].dims[2]['x2 name'], self.f['x2']) | |
File "/home/derekt/.linuxbrew/lib/python2.7/site-packages/h5py/_hl/dims.py", line 54, in __getitem__ | |
raise KeyError('%s not found' % item) | |
KeyError: 'x2 name not found' | |
====================================================================== | |
ERROR: test_iter_dimensionscales (h5py._hl.tests.test_dimension_scales.TestH5DSBindings) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/derekt/.linuxbrew/lib/python2.7/site-packages/h5py/_hl/tests/test_dimension_scales.py", line 93, in test_iter_dimensionscales | |
self.assertEqual(h5py.h5ds.get_scale_name(res), b'x2 name') | |
File "h5ds.pyx", line 70, in h5py.h5ds.get_scale_name (h5py/h5ds.c:1725) | |
TypeError: Argument 'dscale' has incorrect type (expected h5py.h5d.DatasetID, got NoneType) | |
====================================================================== | |
FAIL: test_get_items (h5py._hl.tests.test_dimension_scales.TestDimensionsHighLevel) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/derekt/.linuxbrew/lib/python2.7/site-packages/h5py/_hl/tests/test_dimension_scales.py", line 170, in test_get_items | |
[('', self.f['x1']), ('x2 name', self.f['x2'])] | |
AssertionError: Lists differ: [(u'', <HDF5 dataset "x1": sha... != [('', <HDF5 dataset "x1": shap... | |
First differing element 1: | |
(u'x2 nam', <HDF5 dataset "x2": shape (2,), type "<f4">) | |
('x2 name', <HDF5 dataset "x2": shape (2,), type "<f4">) | |
- [(u'', <HDF5 dataset "x1": shape (2,), type "<f4">), | |
? - | |
+ [('', <HDF5 dataset "x1": shape (2,), type "<f4">), | |
- (u'x2 nam', <HDF5 dataset "x2": shape (2,), type "<f4">)] | |
? - | |
+ ('x2 name', <HDF5 dataset "x2": shape (2,), type "<f4">)] | |
? + | |
====================================================================== | |
FAIL: test_get_keys (h5py._hl.tests.test_dimension_scales.TestDimensionsHighLevel) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/derekt/.linuxbrew/lib/python2.7/site-packages/h5py/_hl/tests/test_dimension_scales.py", line 174, in test_get_keys | |
self.assertEqual(self.f['data'].dims[2].keys(), ['', 'x2 name']) | |
AssertionError: Lists differ: [u'', u'x2 nam'] != ['', 'x2 name'] | |
First differing element 1: | |
x2 nam | |
x2 name | |
- [u'', u'x2 nam'] | |
? - - | |
+ ['', 'x2 name'] | |
? + | |
====================================================================== | |
FAIL: test_iter (h5py._hl.tests.test_dimension_scales.TestDimensionsHighLevel) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/derekt/.linuxbrew/lib/python2.7/site-packages/h5py/_hl/tests/test_dimension_scales.py", line 183, in test_iter | |
self.assertEqual([i for i in self.f['data'].dims[2]], ['', 'x2 name']) | |
AssertionError: Lists differ: [u'', u'x2 nam'] != ['', 'x2 name'] | |
First differing element 1: | |
x2 nam | |
x2 name | |
- [u'', u'x2 nam'] | |
? - - | |
+ ['', 'x2 name'] | |
? + | |
====================================================================== | |
FAIL: test_create_dimensionscale (h5py._hl.tests.test_dimension_scales.TestH5DSBindings) | |
Create a dimension scale from existing dataset | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/derekt/.linuxbrew/lib/python2.7/site-packages/h5py/_hl/tests/test_dimension_scales.py", line 54, in test_create_dimensionscale | |
self.assertEqual(h5py.h5ds.get_scale_name(self.f['x2'].id), b'x2 name') | |
AssertionError: 'x2 nam' != 'x2 name' | |
---------------------------------------------------------------------- | |
Ran 246 tests in 0.246s | |
FAILED (failures=4, errors=3, skipped=4, expected failures=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment