code: def test_is_normalized_name(name, expected):
      assert is_normalized_name(expected)
      if name != expected:
          assert not is_normalized_name(name)
  
file_path: py-packaging/tests/test_utils.py
imports: import pytest
  from packaging.tags import Tag
  from packaging.utils import InvalidName, InvalidSdistFilename, InvalidWheelFilename, canonicalize_name, canonicalize_version, is_normalized_name, parse_sdist_filename, parse_wheel_filename
  from packaging.version import Version
label_desc: Use image node_id 3 for calling a global function with example usage: test_is_normalized_name(name, expected) without return types