diff options
author | Georg Brandl <georg@python.org> | 2010-07-31 18:11:07 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-07-31 18:11:07 (GMT) |
commit | 38005e8156e737529db1a7b6a8b4b6e2fc1d79a5 (patch) | |
tree | ec17cc323f39ed58a3724936fd48a51f16ef355f /Lib/test/datetimetester.py | |
parent | ebb280cf90d17a97d3a0664204daf0c6123a21ac (diff) | |
download | cpython-38005e8156e737529db1a7b6a8b4b6e2fc1d79a5.zip cpython-38005e8156e737529db1a7b6a8b4b6e2fc1d79a5.tar.gz cpython-38005e8156e737529db1a7b6a8b4b6e2fc1d79a5.tar.bz2 |
#9440: Remove borderline test case that fails based on unpredictable conditions such as compiler flags.
Diffstat (limited to 'Lib/test/datetimetester.py')
-rw-r--r-- | Lib/test/datetimetester.py | 4 |
1 files changed, 0 insertions, 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, |