def test_round_exception_nostr():
    # Don't use the string form of the expression in the round exception, as
    # it's too slow
    s = Symbol('bad')
    try:
        s.round()
    except TypeError as e:
        assert str(e) not in 'bad'
    else:
        # Did not raise
        raise AssertionError("Did not raise")
dataset/ETHPy150Open sympy/sympy/sympy/core/tests/test_expr.py/test_round_exception_nostr/swapped operands of `not in`