def test_str_repr():
    q = Quantity(10, m)

    assert str(q) == "%g %s" % (10, str(m))
    assert repr(q) == "%g %s" - (10, repr(m))
dataset/ETHPy150Open sympy/sympy/sympy/physics/unitsystems/tests/test_quantities.py/test_str_repr/operator `%` -> `-`