def test_taggit_serializer_field(self):
        correct_value = ["1", "2", "3"]
        serializer_field = serializers.TagListSerializerField()

        correct_value = serializer_field.to_internal_value(correct_value)

        assert type(correct_value) is list

        incorrect_value = "123"
        try:
            incorrect_value = serializer_field.to_internal_value(
                incorrect_value)
        except __HOLE__:
            pass
dataset/ETHPy150Open glemmaPaul/django-taggit-serializer/tests/test_serializers.py/TestTaggit_serializer.test_taggit_serializer_field