예제 #1
0
 def testParserSimple(self):
     r = pg.cast_record('(a,b,c)')
     self.assertIsInstance(r, tuple)
     self.assertEqual(len(r), 3)
     self.assertEqual(r, ('a', 'b', 'c'))
예제 #2
0
 def testParserSimple(self):
     r = pg.cast_record('(a,b,c)')
     self.assertIsInstance(r, tuple)
     self.assertEqual(len(r), 3)
     self.assertEqual(r, ('a', 'b', 'c'))