code: def test_no_layout():
      layout = Layout()
      with pytest.raises(NoSplitter):
          layout.split(Layout(), Layout(), splitter="nope")
  
file_path: rich/tests/test_layout.py
imports: import sys
  import pytest
  from rich.console import Console
  from rich.layout import Layout, NoSplitter
  from rich.panel import Panel
label_desc: Use image node_id 1 for calling a global function with example usage: test_no_layout() without return types