Skip to content

Fix misleading FileNotFoundError example in tests/AGENTS.md #861

@fuleinist

Description

@fuleinist

Problem

The file contains a FileNotFoundError example that does not accurately reflect the actual error behavior, which could confuse contributors who rely on it when writing inline tests.

Solution

Update the FileNotFoundError example in to correctly represent when and why this error is raised, and clarify the file path context so contributors understand the actual failure scenario.

Use case

Contributors reading the file will get accurate guidance on the error conditions, preventing incorrect test expectations and reducing debugging friction when inline tests fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions