summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-31 18:11:07 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-31 18:11:07 (GMT)
commit38005e8156e737529db1a7b6a8b4b6e2fc1d79a5 (patch)
treeec17cc323f39ed58a3724936fd48a51f16ef355f
parentebb280cf90d17a97d3a0664204daf0c6123a21ac (diff)
downloadcpython-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.
-rw-r--r--Lib/test/datetimetester.py4
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,