code: def test_vid_change_attempts(self):
      with self.assertRaises(fom.MediaTypeError):
          self.vid_sample.filepath = "image.png"
  
imports: import time
  import unittest
  from unittest.mock import MagicMock, patch
  import numpy
  import fiftyone
  import fiftyone.constants
  import fiftyone.core.media
  import fiftyone.core.odm
  import fiftyone.core.utils
  from fiftyone.migrations.runner import MigrationRunner
  from decorators import drop_datasets
  from bson import ObjectId
  from fiftyone.core.odm.utils import load_dataset
label_desc: Use image node_id 5 for calling the MediaTypeTests obj's underlying member method code with example usage: obj.test_vid_change_attempts() without return types