Commit 38005e81 authored by Georg Brandl's avatar Georg Brandl

#9440: Remove borderline test case that fails based on unpredictable...

#9440: Remove borderline test case that fails based on unpredictable conditions such as compiler flags.
parent ebb280cf
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment