• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

miyuchina / mistletoe / 28782428816
94%

Build:
DEFAULT BRANCH: master
Ran 06 Jul 2026 09:42AM UTC
Jobs 1
Files 25
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Jul 2026 09:41AM UTC coverage: 94.22% (-0.04%) from 94.255%
28782428816

push

github

pbodnar
fix: guard remove_token against duplicate removal

MarkdownRenderer.__init__ calls block_token.remove_token(Footnote),
but if the renderer is instantiated multiple times without proper
context-manager cleanup (reset_tokens in __exit__), the second call
crashes with ValueError because Footnote is already gone.

Add an 'in' guard to both block_token.remove_token and
span_token.remove_token so the call is a no-op if the token
has already been removed.

Fixes #262

2 of 4 new or added lines in 2 files covered. (50.0%)

2429 of 2578 relevant lines covered (94.22%)

0.94 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
98.48
-0.75% mistletoe/span_token.py
Jobs
ID Job ID Ran Files Coverage
1 28782428816.1 06 Jul 2026 09:42AM UTC 25
94.22
GitHub Action Run
Source Files on build 28782428816
  • Tree
  • List 25
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • adf7ff79 on github
  • Prev Build on master (#28780243003)
  • Next Build on master (#28784217712)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc