def test_warn_default_category(self):
        for i in range(4):
            text = i %'multi %d'    # Different text on each call
            warnings.warn(text)
            self.assertEqual(msg.message, text)
            self.assertEqual(msg.category, 'UserWarning')
dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_warnings.py/TestModule.test_warn_default_category/swapped operands of `%`