def setUp(self):
        os_grain = self.run_function('grains.item', ['kernel'])
        if os_grain['kernel'] not in 'Darwin':
            self.skipTest(
                'Test not applicable to \'{kernel}\' kernel'.format(
                    **os_grain
                )
            )
The same warning triggered twice from the same place is included twice
dataset/ETHPy150Open saltstack/salt/tests/integration/modules/mac_desktop.py/MacDesktopTestCase.setUp--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/test/test_warning.py/FlushWarningsTests.test_repeated