def test_has_useful_string_representation(self):
        error = spotify.Timeout(0.5)
        self.assertEqual('%s' % error, 'Operation did not complete in 0.500s')
        self.assertIsInstance('%s' % error, utils.text_type)
dataset/ETHPy150Open mopidy/pyspotify/tests/test_error.py/TimeoutTest.test_has_useful_string_representation/original