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.
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.