Skip to content

Commit eac083b

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/benchmarks/test_serialization_micro.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def test_model_exclude_unset_true(benchmark, fs_model_serializer):
318318
def r():
319319
fs_model_serializer.to_python(m, exclude_unset=True)
320320

321-
321+
@pytest.mark.benchmark(group='model-list-json')
322322
def test_model_list_core_json(benchmark):
323323
s = SchemaSerializer(
324324
core_schema.model_schema(
@@ -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)