Skip to content
Snippets Groups Projects
Commit ceeb1e50 authored by Alexander Kreft's avatar Alexander Kreft
Browse files

Merge branch 'f-xlsimporter-error' into dev

parents 380b5b7f 4358393c
No related branches found
No related tags found
1 merge request!22Release 0.3
......@@ -182,7 +182,7 @@ class XLSImporter(object):
"""
try:
xls_file = pd.io.excel.ExcelFile(filename)
except XLRDError as e:
except (XLRDError, ValueError) as e:
logger.warning(
"Cannot read \n{}.\nError:{}".format(filename,
str(e)),
......
......@@ -164,7 +164,6 @@ class XLSImporterTest(unittest.TestCase):
df_new = self.importer.check_unique(df)
self.assertEqual(df_new.shape[0], 1)
@pytest.mark.xfail(reason="Wrong Error is raised. See Issue #52")
def test_raise(self):
tmp = NamedTemporaryFile(delete=False, suffix=".lol")
tmp.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment