def test_activation_signal_failure(self):
        receiver = lambda sender, **kwargs: received_signals.append(kwargs.get('signal'))

        received_signals = []
        signals.user_activated.connect(receiver, sender=self.backend.__class__)

        new_user = self.backend.register(_mock_request(),
                                         username='bob',
                                         email='bob@example.com',
                                         password1='secret')
        new_user.date_joined -= datetime.timedelta(days=settings.ACCOUNT_ACTIVATION_DAYS + 1)
        new_user.save()
        profile = RegistrationProfile.objects.get(user=new_user)
        self.backend.activate(_mock_request(), profile.activation_key)

        self.assertEqual(len(received_signals), 0)
Can be iterated at all (count is None) or exactly count times.
dataset/ETHPy150Open nathanborror/django-registration/registration/tests/backends.py/DefaultRegistrationBackendTests.test_activation_signal_failure--crossover with--dataset/ETHPy150Open kayhayen/Nuitka/nuitka/nodes/NodeBases.py/ExpressionMixin.isKnownToBeIterable