Skip to content

Fix deprecation warning for compute_leading_term #27281

Open
@anutosh491

Description

This deprecation warning doesn't work:

In [1]: x.compute_leading_term(x)
...
TypeError: SymPyDeprecationWarning.__init__() got an unexpected keyword argument 'feature'

This is why we need tests for things that are deprecated. This has already been released in SymPy 1.12 and 1.13 now and is broken so at this stage it would be best just to delete this method rather than fixing the deprecation warning.

Originally posted by @oscarbenjamin in #23844 (comment)

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions