]> git.jsancho.org Git - datasette-pytables.git/blobdiff - tests/fixtures.py
Update DEVELOPERS.md
[datasette-pytables.git] / tests / fixtures.py
index bbca1186aefebe2c86704801d373a5b5d2aada96..e845efe146e6540e2108415943e7840896ab6fae 100644 (file)
@@ -1,4 +1,5 @@
 from datasette.app import Datasette
+import numpy as np
 import os
 from tables import *
 import tempfile
@@ -37,6 +38,8 @@ def populate_file(filepath):
 
     array2 = h5file.create_array(group1, 'array2', [x for x in range(10000)])
 
+    multiarray = h5file.create_array(group2, 'multi', np.arange(1000).reshape(10, 50, 2))
+
     for table in (table1, table2):
         row = table.row