

def test_multiple_dtype_error(self):
    test_features = (numpy.arange(8, dtype='float32').reshape((2, 2, 2)) + 3)
    assert_raises(ValueError, fill_hdf5_file, self.h5file, (('train', 'features', self.train_features), ('test', 'features', test_features)))

dataset/ETHPy150Open mila-udem/fuel/tests/test_converters.py TestFillHDF5File.test_multiple_dtype_error/original