We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42cdda4 commit b8ce2beCopy full SHA for b8ce2be
tests/benchmarks/test_serialization_micro.py
@@ -348,7 +348,7 @@ def r():
348
s.to_json(m_big)
349
350
351
-@pytest.mark.benchmark(group='model-list-json')
+@pytest.mark.benchmark(group='temporal')
352
def test_datetime(benchmark):
353
v = SchemaSerializer(core_schema.datetime_schema())
354
d = datetime(2022, 12, 2, 12, 13, 14)
@@ -359,7 +359,7 @@ def r():
359
v.to_python(d, mode='json')
360
361
362
363
def test_datetime_seconds(benchmark):
364
v = SchemaSerializer(
365
core_schema.datetime_schema(),
@@ -375,7 +375,7 @@ def r():
375
376
377
378
379
def test_datetime_milliseconds(benchmark):
380
v = SchemaSerializer(core_schema.datetime_schema(), config={'ser_json_temporal': 'milliseconds'})
381
0 commit comments