~pythonregexp2.7/python/issue2636-09-01+10

« back to all changes in this revision

Viewing changes to Lib/test/test_decimal.py

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 21:39:45 UTC
  • mfrom: (39055.1.33 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922213945-23717m5eiqpamcyn
Merged in changes from the Single-Loop Engine branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
432
432
        self.assertEqual(str(Decimal(u'-Inf')), '-Infinity')
433
433
        self.assertEqual(str(Decimal(u'NaN123')), 'NaN123')
434
434
 
 
435
        #but alternate unicode digits should not
 
436
        self.assertEqual(str(Decimal(u'\uff11')), 'NaN')
 
437
 
435
438
    def test_explicit_from_tuples(self):
436
439
 
437
440
        #zero