def test_to_python_can_empty(self): d = DictField(blank=True, null=True) self.failUnlessEqual(d.to_python(None), None)