Ticket #16514: tests.diff
File tests.diff, 556 bytes (added by , 13 years ago) |
---|
-
tests/regressiontests/defaultfilters/tests.py
diff -r 548df236b2cc tests/regressiontests/defaultfilters/tests.py
a b 47 47 nan = pos_inf / pos_inf 48 48 self.assertEqual(floatformat(nan), unicode(nan)) 49 49 50 #Test nan 51 def test_isnan(self): 52 self.assertTrue(math.isnan(nan)) 53 50 54 class FloatWrapper(object): 51 55 def __init__(self, value): 52 56 self.value = value