Skip to content

Commit a30fb90

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent bc49e19 commit a30fb90

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/test_metrics.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,9 @@ def test_metrics_context_manager_none():
523523
def test_metrics_entry_count_and_size_memory():
524524
"""Test that entry_count and total_size_bytes reflect cache state for memory backend.
525525
526-
_MemoryCore overrides _get_entry_count and _get_total_size; both should
527-
return real values after entries are written.
526+
_MemoryCore overrides _get_entry_count and _get_total_size; both should return real values after entries are
527+
written.
528+
528529
"""
529530

530531
@cachier(backend="memory", enable_metrics=True)
@@ -553,8 +554,9 @@ def test_func(x):
553554
def test_metrics_entry_count_and_size_base_default():
554555
"""Test that entry_count and total_size_bytes are 0 for backends without override.
555556
556-
The base-class _get_entry_count and _get_total_size return 0. Pickle does
557-
not override them, so the snapshot values must stay at the default.
557+
The base-class _get_entry_count and _get_total_size return 0. Pickle does not override them, so the snapshot values
558+
must stay at the default.
559+
558560
"""
559561

560562
@cachier(backend="pickle", enable_metrics=True)

0 commit comments

Comments
 (0)