'Verify the pretty-printing of frozensets'

def test_frozensets(self):

    self.assertGdbRepr(frozenset())
    rep = self.get_gdb_repr("print    frozenset(['a',    'b'])")[0]
    self.assertTrue(rep.startswith('frozenset(['))
    self.assertTrue(rep.endswith('])'))
    self.assertEqual(eval(rep), {'a', 'b'})
    rep = self.get_gdb_repr('print    frozenset([4,    5])')[0]
    self.assertTrue(rep.startswith('frozenset(['))
    self.assertTrue(rep.endswith('])'))
    self.assertEqual(eval(rep), {4, 5})
