def test_assertWarnsFilter(self):
        def deprecated(a):
            warnings.warn("Woo deprecated", category=PendingDeprecationWarning)
            return a
        r = self.assertWarns(PendingDeprecationWarning, "Woo deprecated",
            __file__, deprecated, 123)
        self.assertEqual(r, 123)
Page for viewing the index of all active work queues.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/trial/test/test_assertions.py/WarningAssertionTests.test_assertWarnsFilter--crossover with--dataset/ETHPy150Open bslatkin/dpxdt/dpxdt/server/work_queue_handlers.py/view_all_work_queues