summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLukasz Wiecek <lukasz@yplanapp.com>2016-04-13 17:31:31 +0100
committerTim Graham <timograham@gmail.com>2016-04-18 09:49:13 -0400
commit51400cbce8165d46fdd380e80a95b6248929b38b (patch)
treeddf6d6721fd51de053deb4b6d398df9b9811405f /tests
parent12606d2b99dbfe7d0a8f51818e81a29ea2472943 (diff)
[1.9.x] Fixed #26498 -- Fixed TimeField microseconds round-tripping on MySQL and SQLite.
Thanks adamchainz for the report and review. Backport of d3c87a2425b30400c3e6ea76585a9a537b6d0386 from master
Diffstat (limited to 'tests')
-rw-r--r--tests/db_typecasts/tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/db_typecasts/tests.py b/tests/db_typecasts/tests.py
index 98748abee4..fa9eab164d 100644
--- a/tests/db_typecasts/tests.py
+++ b/tests/db_typecasts/tests.py
@@ -27,6 +27,9 @@ TEST_CASES = {
('00:00:12', datetime.time(0, 0, 12)),
('00:00:12.5', datetime.time(0, 0, 12, 500000)),
('7:22:13.312', datetime.time(7, 22, 13, 312000)),
+ ('12:45:30.126631', datetime.time(12, 45, 30, 126631)),
+ ('12:45:30.126630', datetime.time(12, 45, 30, 126630)),
+ ('12:45:30.123456789', datetime.time(12, 45, 30, 123456)),
),
'typecast_timestamp': (
('', None),