pytest-asyncio-review

Community

Audit and align async tests with pytest-asyncio.

AuthorElijah-J
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Tests that misuse asyncio patterns, such as outdated event_loop fixtures and deprecated asyncio markers, can cause flaky tests and high maintenance costs. This Skill identifies non-compliant tests and guides safe migrations to pytest-asyncio best practices, improving reliability and readability across the codebase.

Core Features & Use Cases

  • Detects non-compliant asyncio test patterns (async fixtures, event_loop usage, and markers) and suggests migrations.
  • Guides migrations from deprecated patterns to loop_scope-based configurations while preserving test behavior.
  • Provides a repeatable, one-file-at-a-time refactor workflow suitable for large codebases with multiple test modules.

Quick Start

Review and refactor your async tests to conform to pytest-asyncio guidelines.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pytest-asyncio-review
Download link: https://github.com/Elijah-J/InfoScraper/archive/main.zip#pytest-asyncio-review

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.