'Correctly formatted text with colors uses 2 digits to specify
foreground and (optionally) background.'

def test_colorFormatting(self):

    self.assertEqual(irc.parseFormattedText('\x0301yay\x03'), A.fg.black['yay'])
    self.assertEqual(irc.parseFormattedText('\x0301,02yay\x03'), A.fg.black[A.bg.blue['yay']])
    self.assertEqual(irc.parseFormattedText('\x0301yay\x0302yipee\x03'), A.fg.black[('yay', A.fg.blue['yipee'])])
