code: def test_variant_non_default():
      render_result = render(Emoji("warning", variant="emoji"))
      assert render_result == "⚠" + "\uFE0F"
  
file_path: rich/tests/test_emoji.py
imports: import pytest
  from rich.emoji import Emoji, NoEmoji
  from .render import render
label_desc: Use image node_id 6 for calling a global function with example usage: test_variant_non_default() without return types