code: def test_assign_type_error(self):
      values = ["foo", 10, None]
      for value in values:
          with self.assertRaises(Exception):
              Artifact(MagicMock(), MagicMock()).assign(value)
  
file_path: neptune-client/tests/unit/neptune/new/attributes/atoms/test_artifact_hash.py
imports: from mock import MagicMock
  from neptune.attributes.atoms.artifact import Artifact
  from neptune.internal.operation import AssignArtifact
  from neptune.types.atoms.artifact import Artifact
  from tests.unit.neptune.new.attributes.test_attribute_base import TestAttributeBase
label_desc: Use image node_id 1 for calling the TestArtifactHash obj's underlying member method code with example usage: obj.test_assign_type_error() without return types