code: def test_log_raise_not_image(self):
      # given
      path = self._random_path()
  
      with self._exp() as exp:
          attr = FileSeries(exp, path)
  
          file = File.from_content("some text")
          stream = File.from_stream(io.BytesIO(file.content))
          with create_file(
              file.content, binary_mode=True
          ) as tmp_filename:
              saved_file = File(tmp_filename)
  
              # when
              with self.assertRaises(OperationNotSupported):
                  attr.log(file)
              with self.assertRaises(OperationNotSupported):
                  attr.log(saved_file)
              with self.assertRaises(OperationNotSupported):
                  attr.log(stream)
  
imports: import io
  from unittest import mock
  import numpy
  import pytest
  from mock import MagicMock, call, patch
  from neptune.attributes.series.file_series import FileSeries
  from neptune.exceptions import OperationNotSupported
  from neptune.internal.operation import ClearImageLog, ImageValue, LogImages
  from neptune.internal.utils import base64_encode
  from neptune.types import File
  from tests.unit.neptune.new.attributes.test_attribute_base import TestAttributeBase
  from tests.unit.neptune.new.utils.file_helpers import create_file
label_desc: Use image node_id 6 for calling the TestFileSeries obj's underlying member method code with example usage: obj.test_log_raise_not_image() without return types