def test_setDataFrame(self, dataframe):
        model = ColumnDtypeModel()

        model.setDataFrame(dataframe)
        assert model.rowCount(5)

        with pytest.raises(TypeError) as err:
            model.setDataFrame(['some', 'neat', 'list', 'entries'])
        assert str(err.value) in 'not of type pandas.core.frame.DataFrame'
dataset/ETHPy150Open datalyze-solutions/pandas-qt/tests/test_CustomDTypeModel.py/TestColumnDType.test_setDataFrame/swapped operands of `in`