with pytest.raises(ValueError):
   1/0