def test_validate_non_list():
    field = ListField(child=DateField())
    with pytest.raises(ValidationError):
        field.to_internal_value('notAList')
QVersionPropOverlay(parent: QWidget) -> QVersionPropOverlay
dataset/ETHPy150Open estebistec/drf-compound-fields/tests/test_listfield.py/test_validate_non_list--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/version_prop.py/QVersionPropOverlay.__init__