From 38005e8156e737529db1a7b6a8b4b6e2fc1d79a5 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 31 Jul 2010 18:11:07 +0000 Subject: #9440: Remove borderline test case that fails based on unpredictable conditions such as compiler flags. --- Lib/test/datetimetester.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Lib/test/datetimetester.py b/Lib/test/datetimetester.py index 8dd0326..7adf54c 100644 --- a/Lib/test/datetimetester.py +++ b/Lib/test/datetimetester.py @@ -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, -- cgit v0.12