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 May 3, 2024
1 parent 80cb1b0 commit 24c4c78
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 24c4c78

Please sign in to comment.