Skip to content

Commit

Permalink
FIXME: test: show DocCursor cache stats
Browse files Browse the repository at this point in the history
Don't really know how to do this better at this point, but it allows
some crude testing for now.
  • Loading branch information
BrunoMSantos committed Nov 19, 2023
1 parent ecc4321 commit c31dd04
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import sys
from hawkmoth.doccursor import DocCursor

def pytest_sessionfinish(session, exitstatus):
print('\n>>> DocCursor cache stats:', file=sys.stderr)
print(DocCursor.cache_info(), file=sys.stderr)

0 comments on commit c31dd04

Please sign in to comment.