Commit a4483ee8 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

TEST: update test for exporter signature change

parent 835dc7fc
......@@ -11,6 +11,8 @@ import os
import textwrap as tw
import os.path as op
from collections import OrderedDict
import pandas as pd
import numpy as np
import h5py
......@@ -349,7 +351,11 @@ def test_exportHDF5():
with tempdir():
gen_test_data(5, 10, 'data.tsv', ctypes={1 : 'date', 2 : 'datetime'})
colnames = ['one', 'two', 'three', 'four', 'five']
colnames = OrderedDict((('1-0.0', 'one'),
('2-0.0', 'two'),
('3-0.0', 'three'),
('4-0.0', 'four'),
('5-0.0', 'five')))
data = pd.read_csv('data.tsv',
delimiter='\t',
......@@ -373,6 +379,8 @@ def test_exportHDF5():
key='h5key',
style='pandas')
colnames = list(colnames.values())
exp = dt[:, :]
gotpd = pd.read_hdf('out_pandas.h5')
gotukb = h5py.File('out_funpack.h5', 'r')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment