def test_notifyRemote_two_pending_connection_failures(self):
        self.assertFalse(self.endpoint.connected)
        self.endpoint.deferred = defer.Deferred()
        d1 = self.factory.notifyRemote('spam')
        d2 = self.factory.notifyRemote('spam')
        self.endpoint.deferred.errback(FakeError())
        self.assertEqual(len(self.flushLoggedErrors(FakeError)), 1)
        self.successResultOf(defer.gatherResults([
            self.assertFailure(d1, FakeError),
            self.assertFailure(d2, FakeError),
        ]))
Create a temporary .m3u file. Return the filename.
dataset/ETHPy150Open flowroute/txjason/txjason/tests/test_netstring.py/ClientTestCase.test_notifyRemote_two_pending_connection_failures--crossover with--dataset/ETHPy150Open beetbox/beets/beetsplug/play.py/PlayPlugin._create_tmp_playlist