def test_abstract(self): c = bcc.Color() with pytest.raises(NotImplementedError): c.copy() with pytest.raises(NotImplementedError): c.from_hsl("foo") with pytest.raises(NotImplementedError): c.from_rgb("foo") with pytest.raises(NotImplementedError): c.to_css() with pytest.raises(NotImplementedError): c.to_hsl() with pytest.raises(NotImplementedError): c.to_rgb()
def test_repr(self): c = bcc.Color() with pytest.raises(NotImplementedError): repr(c)
def test_init(self): c = bcc.Color() assert c
def test_init(self) -> None: c = bcc.Color() assert c