Change docstring to inline comment

This is in response to comment from smichr

	modified:   sympy/core/tests/test_compatibility.py