def test_quantity_ops(self): efrho = Efrho(1000 * u.cm) v = efrho * 2 * u.cm assert v == 2000 * u.cm**2 assert not isinstance(v, Efrho)