SymPyDeprecationWarning.warn just passes the instance
SymPyDeprecationWarning.warn just passes the instance

The way it was done it tries to instantiate another instance of the class. But
message can just be an instance of Warning, so do this instead.

kaushik94/sympy,kaushik94/sympy,kaushik94/sympy