Here are the examples of the python api bokeh.core.properties.MarkerType taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
3
View Source File : test_validation.py
License : MIT License
Project Creator : rthorst
License : MIT License
Project Creator : rthorst
def test_MarkerType(self):
p = MarkerType()
with pytest.raises(ValueError) as e:
p.validate("foo")
assert not str(e).endswith("ValueError")
@pytest.mark.parametrize('spec', SPECS)
3
View Source File : test_validation.py
License : MIT License
Project Creator : rthorst
License : MIT License
Project Creator : rthorst
def test_MarkerType(self, detail):
p = MarkerType()
with pytest.raises(ValueError) as e:
p.validate("foo", detail)
assert str(e).endswith("ValueError") == (not detail)
@pytest.mark.parametrize('spec', SPECS)