def test_identity(self):
    '\n        Test that the composition of the function and\n        its inverse gives the correct string.\n        '
    s = '|wthis|Xis|gis|Ma|C|complex|*string'
    self.assertEqual(irc.parse_irc_to_ansi(irc.parse_ansi_to_irc(s)), s)
Test that the composition of the function and
its inverse gives the correct string.
def test_identity(self):
    '\n        Test that the composition of the function and\n        its inverse gives the correct string.\n        '
    s = '|wthis|Xis|gis|Ma|C|complex|*string'
    self.assertEqual(irc.parse_irc_to_ansi(irc.parse_ansi_to_irc(s)), s)