]> granicus.if.org Git - python/commitdiff
#9440: Remove borderline test case that fails based on unpredictable conditions such...
authorGeorg Brandl <georg@python.org>
Sat, 31 Jul 2010 18:11:07 +0000 (18:11 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 31 Jul 2010 18:11:07 +0000 (18:11 +0000)
Lib/test/datetimetester.py

index 8dd03262c01312f8886f86cf0767f854829d4738..7adf54cf88192bd55e6af9d32be3c7c568c640fd 100644 (file)
@@ -1733,10 +1733,6 @@ class TestDateTime(TestDate):
                          self.theclass.fromtimestamp(1))
         self.assertEqual(self.theclass.fromtimestamp(0.99999949).microsecond,
                          999999)
-        # XXX Arguably incorrect behavior.  Since round(0.6112295, 6)
-        # returns 0.611229, we should see 611229 us below, not 611230
-        self.assertEqual(self.theclass.fromtimestamp(0.6112295).microsecond,
-                         611230)
 
     def test_insane_fromtimestamp(self):
         # It's possible that some platform maps time_t to double,