'Test the ansi-aware .strip() methods'

def test_strip(self):

    a = ANSIString('            |r            Test    of    stuff    |b    with    spaces            |n            ')
    b = ANSIString('|r|b')
    self.assertEqual(a.strip(), ANSIString('|rTest    of    stuff    |b    with    spaces|n'))
    self.assertEqual(a.lstrip(), ANSIString('|rTest    of    stuff    |b    with    spaces            |n            '))
    self.assertEqual(a.rstrip(), ANSIString('            |r            Test    of    stuff    |b    with    spaces|n'))
    self.assertEqual(b.strip(), b)
