Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type is_dtype_equal #1112

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MarcoGorelli
Copy link
Member

  • Closes #xxxx (Replace xxxx with the Github issue number)
  • Tests added: Please use assert_type() to assert the type of any return value

There's already a test for this one using assert_type;

def test_is_dtype_equal() -> None:
check(assert_type(api.is_dtype_equal("i4", np.int8), bool), bool)

the function just wasn't typed

@MarcoGorelli MarcoGorelli marked this pull request as ready for review February 8, 2025 12:45
@MarcoGorelli MarcoGorelli changed the title type is-dtype-equal type is_dtype_equal Feb 8, 2025
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.

1 participant