def test_to_python(self):
        f = models.TextField()
        self.assertEqual(f.to_python(1), '1')
TextField.to_python() should return a string.
dataset/ETHPy150Open django/django/tests/model_fields/test_textfield.py/TextFieldTests.test_to_python