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

agronholm / anyio / 28288032852
93%

Build:
DEFAULT BRANCH: master
Ran 27 Jun 2026 11:38AM UTC
Jobs 1
Files 43
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

26 Jun 2026 09:32PM UTC coverage: 93.242% (+0.01%) from 93.228%
28288032852

push

github

web-flow
Fix CapacityLimiter(math.inf) raising TypeError outside an event loop (#1189)

The adapter's total_tokens setter checked for infinity by identity (value is not math.inf), so only the exact math.inf singleton passed; float('inf') -- a distinct equal object and the idiomatic way to express infinity -- raised TypeError outside a running event loop, while every backend setter (math.isinf) accepts it. Align the adapter with thebackend by using math.isinf, mirroring _asyncio.py exactly.

1 of 1 new or added line in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

6526 of 6999 relevant lines covered (93.24%)

11.06 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
92.47
-0.05% src/anyio/_backends/_asyncio.py
Jobs
ID Job ID Ran Files Coverage
1 28288032852.1 27 Jun 2026 11:38AM UTC 43
93.24
GitHub Action Run
Source Files on build 28288032852
  • Tree
  • List 43
  • Changed 3
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28288032852
  • 26ab19ba on github
  • Prev Build on master (#28261507700)
  • Next Build on master (#28289660334)
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