Skip to content

Commit b8ce2be

Browse files
committed
fix: comments
1 parent 42cdda4 commit b8ce2be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/benchmarks/test_serialization_micro.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def r():
348348
s.to_json(m_big)
349349

350350

351-
@pytest.mark.benchmark(group='model-list-json')
351+
@pytest.mark.benchmark(group='temporal')
352352
def test_datetime(benchmark):
353353
v = SchemaSerializer(core_schema.datetime_schema())
354354
d = datetime(2022, 12, 2, 12, 13, 14)
@@ -359,7 +359,7 @@ def r():
359359
v.to_python(d, mode='json')
360360

361361

362-
@pytest.mark.benchmark(group='model-list-json')
362+
@pytest.mark.benchmark(group='temporal')
363363
def test_datetime_seconds(benchmark):
364364
v = SchemaSerializer(
365365
core_schema.datetime_schema(),
@@ -375,7 +375,7 @@ def r():
375375
v.to_python(d, mode='json')
376376

377377

378-
@pytest.mark.benchmark(group='model-list-json')
378+
@pytest.mark.benchmark(group='temporal')
379379
def test_datetime_milliseconds(benchmark):
380380
v = SchemaSerializer(core_schema.datetime_schema(), config={'ser_json_temporal': 'milliseconds'})
381381
d = datetime(2022, 12, 2, 12, 13, 14)

0 commit comments

Comments
 (0)