def test_pytables():
 x = np.ones((2, 3))
 y = np.ones(2)
 ds = DenseDesignMatrixPyTables(X=x, y=y)
 it = ds.iterator(mode='sequential', batch_size=1)
 it.next()

def test_pytables ( ) : x = np . ones ( ( 2 , 3 ) ) y = np . ones ( 2 ) ds = DenseDesignMatrixPyTables ( X = x , y = y ) it = ds . iterator ( mode = 'sequential' , batch_size = 1 ) it . next ( )
tests wether densedesignmatrixpytables can be loaded and initialize iterator .