def test_stopProxyingUnreferencesProducer(self):
        transport = StringTransport()
        proxy = TransportProxyProducer(transport)
        self.assertIdentical(proxy._producer, transport)
        proxy._stopProxying()
        self.assertIdentical(proxy._producer, None)
Overriding the default cleaning behaviour to exit early on errors
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_newclient.py/TransportProxyProducerTests.test_stopProxyingUnreferencesProducer--crossover with--dataset/ETHPy150Open caffeinehit/django-oauth2-provider/provider/forms.py/OAuthForm._clean_fields