#9440: Remove borderline test case that fails based on unpredictable conditions such as compiler flags.

This commit is contained in:
Georg Brandl 2010-07-31 18:11:07 +00:00
parent ebb280cf90
commit 38005e8156

View 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,