code: def test_unicode_characters():
      # Smoke test to see that Unicode characters does not cause issues
      # See #23019
      plt.rcParams["text.usetex"] = True
      fig, ax = plt.subplots()
      ax.set_ylabel("\\textit{Velocity (\N{DEGREE SIGN}/sec)}")
      ax.set_xlabel("\N{VULGAR FRACTION ONE QUARTER}Öøæ")
      fig.canvas.draw()
  
      # But not all characters.
      # Should raise RuntimeError, not UnicodeDecodeError
      with pytest.raises(RuntimeError):
          ax.set_title("\N{SNOWMAN}")
          fig.canvas.draw()
  
file_path: matplotlib/lib/matplotlib/tests/test_texmanager.py
imports: import os
  from pathlib import Path
  import re
  import subprocess
  import sys
  import matplotlib.pyplot
  from matplotlib.texmanager import TexManager
  from matplotlib.testing._markers import needs_usetex
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_unicode_characters() without return types