You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2020-05-12.06:55:45.145>labels= ['3.8', 'library']
title='Regression in 3.8.3rc1 - error in tests run via doctest'updated_at=<Date2020-05-12.07:18:54.452>user='https://bugs.python.org/casevh'
The test suite is run using doctest and has been running without issues for many years. The first failure occurs when running the following fragment:
>>> x = xmpz(16)
>>> iter= x.iter_bits()
>>> [b for b initer]
[False, False, False, False, True]
The output is as expected when run interactively on 3.8.3rc1 but generated the following error message:
/home/case/local/lib/python3.8/doctest.py:1336: RuntimeWarning: coroutine '<module>' was never awaited
exec(compile(example.source, filename, "single",
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
File "test_gmpy2_xmpz_misc.txt", line 91, in test_gmpy2_xmpz_misc.txt
Failed example:
[b for b in iter]
Differences (ndiff with -expected +actual):
- [False, False, False, False, True]
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: