code: def test_clean_duplicates():
      duplicates = {"intents": ["goodbye", "inform"], "entities": []}
      expected = {"intents": ["goodbye", "inform"]}
      result = rasa.shared.utils.common.clean_duplicates(duplicates)
      assert result == expected
  
file_path: rasa/tests/shared/utils/test_common.py
imports: import asyncio
  from typing import Collection, List, Optional, Text
  from unittest.mock import Mock
  import pytest
  import rasa.shared.core.domain
  import rasa.shared.utils.common
  from rasa.shared.exceptions import RasaException
label_desc: Use image node_id 10 for calling a global function with example usage: test_clean_duplicates() without return types