mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
#9440: Remove borderline test case that fails based on unpredictable conditions such as compiler flags.
This commit is contained in:
parent
ebb280cf90
commit
38005e8156
1 changed files with 0 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue