code: def test_exception_with_both_clean_and_span_true():
      """Test to not allow clean=True and char_span=True"""
      with pytest.raises(ValueError) as e:
          seg = pysbd.Segmenter(
              language="en", clean=True, char_span=True
          )
      assert (
          str(e.value) == "char_span must be False if clean is True. "
          "Since `clean=True` will modify original text."
      )
  
file_path: pySBD/tests/test_segmenter.py
imports: import pytest
  import pysbd
  from pysbd.utils import TextSpan
label_desc: Use image node_id 7 for calling a global function with example usage: test_exception_with_both_clean_and_span_true() without return types