def plot_arc_test(self, fig, *args, **kw): b = Bloch(fig=fig) b.add_arc(*args, **kw) b.render()
def test_arc_errors(self, start, end, err_msg): b = Bloch() with pytest.raises(ValueError) as err: b.add_arc(start, end) assert str(err.value) == err_msg