@@ -0,0 +1,639 @@
+import warnings%0A%0Afrom sympy.core.decorators import deprecated%0Afrom sympy.utilities.exceptions import SymPyDeprecationWarning%0A%0A%0Adef test_deprecated():%0A    @deprecated(useinstead=%22bar%22, issue=1234, deprecated_since_version=%220.7.2%22)%0A    def foo():%0A        return%0A%0A    with warnings.catch_warnings(record=True) as w:%0A        warnings.simplefilter(%22always%22)%0A        foo()%0A        assert len(w) == 1%0A        assert issubclass(w%5B-1%5D.category, SymPyDeprecationWarning)%0A        assert str(w%5B-1%5D.message) == %22%22%22%5Cn%5Cn%5C%0Afoo has been deprecated since SymPy 0.7.2. Use bar instead. See%5Cn%5C%0Ahttps://github.com/sympy/sympy/issues/1234 for more info.%5Cn%5C%0A%22%22%22%0A

Add coverage test for "deprecated" decorater