mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix typo in test_time.py
This commit is contained in:
parent
8579a8fd63
commit
717a32b755
1 changed files with 1 additions and 1 deletions
|
@ -729,7 +729,7 @@ class CPyTimeTestCase:
|
|||
for seconds in (_testcapi.INT_MIN, _testcapi.INT_MAX):
|
||||
ns_timestamps.append(seconds * SEC_TO_NS)
|
||||
if use_float:
|
||||
# numbers with an extract representation in IEEE 754 (base 2)
|
||||
# numbers with an exact representation in IEEE 754 (base 2)
|
||||
for pow2 in (3, 7, 10, 15):
|
||||
ns = 2.0 ** (-pow2)
|
||||
ns_timestamps.extend((-ns, ns))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue