def test_assertWarnsMultipleWarnings(self):
        def deprecated():
            warnings.warn("Woo deprecated", category=PendingDeprecationWarning)
        def f():
            deprecated()
            deprecated()
        self.assertWarns(
            PendingDeprecationWarning, "Woo deprecated", __file__, f)
Return a checksum digest for a string
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/trial/test/test_assertions.py/WarningAssertionTests.test_assertWarnsMultipleWarnings--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/hashutil.py/digest