Skip to content

Conversation

@janbjorge
Copy link
Owner

No description provided.

Split class method tests; add multi-level partial tests for plain functions;
add hybrid sync __call__ returning coroutine test; rename inspect test for consistency.
@janbjorge janbjorge changed the title chore(tests): expand is_async_callable test coverage and clarify naming Expand is_async_callable test coverage and clarify naming Oct 18, 2025
@janbjorge janbjorge requested a review from Copilot October 18, 2025 15:39
@janbjorge janbjorge self-assigned this Oct 18, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR expands test coverage for the is_async_callable utility function and improves test naming clarity. The changes focus on ensuring comprehensive testing of various callable patterns including class methods, callable instances, nested partial functions, and decorator wrappers.

  • Renamed existing test for better clarity and split it into separate async/sync test cases
  • Added comprehensive test coverage for callable instances, multi-level partial functions, and decorator patterns
  • Added edge case tests for sync functions that return coroutine objects and hybrid callable patterns

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@janbjorge janbjorge merged commit 373f8f5 into main Oct 18, 2025
36 checks passed
@janbjorge janbjorge deleted the chore/improve-is_async_callable-tests branch October 18, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants