This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Remove bad assert in TestDateTime.test_microsecond_rounding
Type: Stage:
Components: Tests Versions: Python 3.1, Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: belopolsky Nosy List: belopolsky, georg.brandl, mark.dickinson
Priority: high Keywords:

Created on 2010-07-31 17:24 by georg.brandl, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg112169 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-07-31 17:24
The last assertion in TestDateTime.test_microsecond_rounding does not test a predictable outcome.  For example, on my box it passes with pydebug enabled and fails without.  It should just be removed.
msg112173 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2010-07-31 17:46
I agree this should be removed;  it's a halfway case, and on a machine that's using x87 floating-point it's subject to the usual issues involving register spills and unpredictable conversions from 64-bit precision to 53-bit precision (dependent on compiler options, wind speed, and the FTSE 100 index).
msg112178 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-07-31 18:11
Removed in r83352.
History
Date User Action Args
2022-04-11 14:57:04adminsetgithub: 53685
2010-07-31 18:11:23georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg112178
2010-07-31 17:46:01mark.dickinsonsetnosy: + mark.dickinson
messages: + msg112173
2010-07-31 17:24:13georg.brandlcreate