def test_m2m_with_unicode_reference(self):
        m1 = UnicodeReferenceModel.objects.create()
        m2 = UnicodeReferenceModel.objects.create()
        m2.others.add(m1)  # used to cause an error (see ticket #6045)
        m2.save()
        list(m2.others.all())  # Force retrieval.
Adjust the candidate pool after node operations.
dataset/ETHPy150Open django/django/tests/m2m_and_m2o/tests.py/RelatedObjectUnicodeTests.test_m2m_with_unicode_reference--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/cmdlib/common.py/AdjustCandidatePool