Skip to content

Commit 61cee77

Browse files
committed
test: add a failing test case
1 parent f12edec commit 61cee77

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/serializers/test_any.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,14 @@ def test_any_config_timedelta(
339339
b'{"1704067200000":"foo"}',
340340
'milliseconds_int',
341341
),
342+
(
343+
datetime(2024, 1, 1, 0, 0, 0, 100, ),
344+
1704067201000,
345+
b'1704067201000',
346+
{'1704067201000': 'foo'},
347+
b'{"1704067201000":"foo"}',
348+
'milliseconds_int',
349+
),
342350
],
343351
)
344352
def test_any_config_datetime(

0 commit comments

Comments
 (0)