code: def test_style_input_checks():
      with pytest.raises(ValueError):
          geom_violin(aes("x", "y"), style=True)
      with pytest.raises(ValueError):
          geom_violin(aes("x", "y"), style=1)
      with pytest.raises(ValueError):
          geom_violin(aes("x", "y"), style="up")
  
file_path: plotnine/tests/test_geom_violin.py
imports: import numpy
  import pandas
  import pytest
  from plotnine import aes, coord_flip, facet_grid, geom_violin, ggplot
  from plotnine.data import mtcars
label_desc: Use image node_id 7 for calling a global function with example usage: test_style_input_checks() without return types