replace is with == comparison
Merge pull request #8111 from pbrady/test_sympify_mpmath

Fix broken test::test_sympify_mpmath