TST: sql add more tests (NaN handling, ..) by jorisvandenbossche · Pull Request #7100 · pandas-dev/pandas (original) (raw)
========================================================================
ERROR: test_datetime_NaT (pandas.io.tests.test_sql.TestSQLiteAlchemy)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.4\pandas\io\tests\test_sql.py", line 912, in test_datetime_NaT
result = sql.read_sql_table('test_datetime', self.conn)
File "C:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.4\pandas\io\sql.py", line 270, in read_sql_table
parse_dates=parse_dates, columns=columns)
File "C:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.4\pandas\io\sql.py", line 797, in read_table
parse_dates=parse_dates, columns=columns)
File "C:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.4\pandas\io\sql.py", line 609, in read
data, columns=column_names, coerce_float=coerce_float)
File "C:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.4\pandas\core\frame.py", line 798, in from_records
coerce_float=coerce_float)
File "C:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.4\pandas\core\frame.py", line 4684, in _to_arrays
data = lmap(tuple, data)
File "C:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.4\pandas\compat\__init__.py", line 87, in lmap
return list(map(*args, **kwargs))
File "C:\Python34-32\lib\site-packages\sqlalchemy-0.9.2-py3.4.egg\sqlalchemy\engine\result.py", line 63, in __iter__
yield processor(value)
File "C:\Python34-32\lib\site-packages\sqlalchemy-0.9.2-py3.4.egg\sqlalchemy\processors.py", line 39, in process
"'%s'" % (type_.__name__, value))
ValueError: Couldn't parse datetime string: '-001--1--1 -1:-1:-1.-00001'
----------------------------------------------------------------------
Ran 23 tests in 3.896s
FAILED (errors=1)