Skip to content

Conversation

Vinith11
Copy link

Removed _api.warn_deprecated("3.7", message="x=None is deprecated") and Replaced with raise ValueError("x=None is not supported")

PR summary

This PR, titled "Title of Your PR," addresses issue #26962. It [briefly describe why the change is necessary and what problem it solves]. It includes [summarize the main changes made in this PR].

PR checklist

Removed  _api.warn_deprecated("3.7", message="x=None is deprecated") and Replaced with raise ValueError("x=None is not supported")
_api.warn_deprecated(
"3.7", message=f"{loc=!r} is incompatible with "
"{nth_coord=}; support is deprecated since %(since)s")
raise ValueError("x=None is not supported")
Copy link
Member

Choose a reason for hiding this comment

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

Where did this error message come from? It seems unrelated to the checks that are guarding it, what is x?

I think the message should likely be f"{loc=!r} is incompatible with {nth_coord=}"

@Vinith11 Vinith11 closed this by deleting the head repository Oct 14, 2023
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.

[MNT]: Remove 3.7-deprecated API
2 participants