def test_abstract_model_pending_operations(self):
        pending_ops_before = list(apps._pending_operations.items())

        class AbstractForeignKeyModel(models.Model):
            fk = models.ForeignKey('missing.FK', models.CASCADE)

            class Meta:
                abstract = True

        self.assertIs(AbstractForeignKeyModel._meta.apps, apps)
        self.assertEqual(
            pending_ops_before,
            list(apps._pending_operations.items()),
            'Pending lookup added for a foreign key on an abstract model'
        )
Check if SHA-1 is the same as remote branch
dataset/ETHPy150Open django/django/tests/model_fields/test_foreignkey.py/ForeignKeyTests.test_abstract_model_pending_operations--crossover with--dataset/ETHPy150Open sigmavirus24/github3.py/github3/repos/branch.py/Branch.latest_sha