code: def assertSameWords(self, tested, reference, msg=None):
      set_tested = set(tested.split())
      set_reference = set(reference.split())
      if set_tested != set_reference:
          raise self.failureException(
              msg
              if msg is not None
              else "%r doesn't consist of the same words as %r"
              % (tested, reference)
          )
  
file_path: speech_recognition/tests/test_special_features.py
imports: import os
  import unittest
  import speech_recognition
label_desc: Use image node_id 3 for calling the TestSpecialFeatures obj's underlying member method code with example usage: obj.assertSameWords(tested, reference, msg) without return types