You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Alter the datetime in test_basic->test_datatypes to be a
fixed value without microseconds, so that no truncation
or rounding of microseconds takes place; whether they
are truncated or rounded depends on backend.
- improve the test for test_datetime to round trip the datetime
value, passing it in the INSERT as well as getting it back
from the SELECT. Use version detection to only run the test
on compliant backends; don't catch and discard a ProgrammingError
without knowing what it is.
c.execute("create table test_datatypes (b bit, i int, l bigint, f real, s varchar(32), u varchar(32), bb blob, d date, dt datetime, ts timestamp, td time, t time, st datetime)")
0 commit comments