def test_sql_insert_compiler_return_id_attribute(self):
        db = router.db_for_write(Party)
        query = InsertQuery(Party)
        query.insert_values([Party._meta.fields[0]], [], raw=False)
        # this line will raise an AttributeError without the accompanying fix
        query.get_compiler(using=db).as_sql()
Test reading and modifying events
dataset/ETHPy150Open lionheart/django-pyodbc/tests/django16/model_regress/tests.py/ModelTests.test_sql_insert_compiler_return_id_attribute--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/io/brainvision/tests/test_brainvision.py/test_events