direct import save_data

This commit is contained in:
chfw 2016-05-18 21:44:01 +01:00
parent d106a2ffbb
commit b06372e20b
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
import os import os
import pyexcel as pe import pyexcel as pe
from pyexcel.ext import xls from pyexcel_xls import save_data
from _compact import OrderedDict from _compact import OrderedDict
import datetime import datetime
@ -28,5 +28,5 @@ class TestBugFix:
for i in range(4100): for i in range(4100):
array.append([datetime.datetime.now()]) array.append([datetime.datetime.now()])
data.update({"test": array}) data.update({"test": array})
s = xls.save_data("test.xls", data) s = save_data("test.xls", data)
os.unlink("test.xls") os.unlink("test.xls")