Exemplo n.º 1
0
 def testSetDecimalPoint(self):
     point = pg.get_decimal_point()
     try:
         pg.set_decimal_point('*')
         r = pg.get_decimal_point()
         self.assertIsInstance(r, str)
         self.assertEqual(r, '*')
     finally:
         pg.set_decimal_point(point)
     r = pg.get_decimal_point()
     self.assertIsInstance(r, str)
     self.assertEqual(r, point)
Exemplo n.º 2
0
 def testSetDecimalPoint(self):
     point = pg.get_decimal_point()
     try:
         pg.set_decimal_point('*')
         r = pg.get_decimal_point()
         self.assertIsInstance(r, str)
         self.assertEqual(r, '*')
     finally:
         pg.set_decimal_point(point)
     r = pg.get_decimal_point()
     self.assertIsInstance(r, str)
     self.assertEqual(r, point)
Exemplo n.º 3
0
 def testGetDecimalPoint(self):
     r = pg.get_decimal_point()
     self.assertIsInstance(r, str)
     self.assertEqual(r, '.')
Exemplo n.º 4
0
 def testGetDecimalPoint(self):
     r = pg.get_decimal_point()
     self.assertIsInstance(r, str)
     self.assertEqual(r, '.')