@patch('salt.utils.which', lambda exe: not exe == "partprobe")
    def test_virtual_bails_without_partprobe(self):
        ret = parted.__virtual__()
        err = (False, 'The parted execution module failed to load partprobe binary is not in the path.')
        self.assertEqual(err, ret)
Puts thread to sleep, checking this threads exit_flag twice a second.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/parted_test.py/PartedTestCase.test_virtual_bails_without_partprobe--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/bulkloader.py/InterruptibleSleep