def METHOD_NAME(self):
    """
    Test the safeStr function.
    """
    for v in ['123', '123', 123]:
        self.assertEqual(safeStr(v), '123')
    self.assertEqual(safeStr(123.45), '123.45')
    self.assertEqual(safeStr(False), 'False')
    self.assertEqual(safeStr(None), 'None')
    self.assertEqual(safeStr(""), "")
    for v in [[1, 2], {'x': 123}, set([1])]:
        self.assertRaises(ValueError, safeStr, v)