Ejemplo n.º 1
0
 def testParserSimple(self):
     r = pg.cast_array('{a,b,c}')
     self.assertIsInstance(r, list)
     self.assertEqual(len(r), 3)
     self.assertEqual(r, ['a', 'b', 'c'])
Ejemplo n.º 2
0
 def testParserSimple(self):
     r = pg.cast_array('{a,b,c}')
     self.assertIsInstance(r, list)
     self.assertEqual(len(r), 3)
     self.assertEqual(r, ['a', 'b', 'c'])