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
"Compiler now strip indents from docstrings. This will reduce the size of bytecode cache (e.g. .pyc file). For example, cache file size for sqlalchemy.orm.session in SQLAlchemy 2.0 is reduced by about 5%. This change will affect tools using docstrings, like doctest.Compiler now strip indents from docstrings. This will reduce the size of bytecode cache (e.g. .pyc file). For example, cache file size for sqlalchemy.orm.session in SQLAlchemy 2.0 is reduced by about 5%. This change will affect tools using docstrings, like doctest."
If the four spaces at the beginning of the string ar removed, the tast passes, e.g.:
assert " This is additional information on dummy" in d.line_dummy.__doc__, "Checking indents"
is changed to:
assert "This is additional information on dummy" in d.line_dummy.__doc__, "Checking indents"
For the second failure, I have no proposed fix.
The text was updated successfully, but these errors were encountered:
With Python 3.12 pos is 0 and the return statement is executed. With Python 3.13 pos is 2 and the exception is raised.
if pos in [0, 1]:
return pos
# got a stdin prompt
if pos == 2:
if not self._stdin_handler:
raise ValueError('Stdin Requested but not stdin handler available')
This test is skipped if PyPy is used. It is alos skipped on macos. In both cases "because of REPL differences". I have no better suggestion than to skip the test for Python >= 3.13 for the same reason.
https://build.opensuse.org/request/show/1225639
by user bnavigator + dimstar_suse
- Skip two tests on python313: different output
gh#Calysto/metakernel#279
- build for modern python on sle15
* remove local bash kernel and point to calysto_bash
* Clean up configurability handling and docs
Two tests fail when using Python 3.13:
The list of changes in Python 3.13 are described here:
https://docs.python.org/3.13/whatsnew/3.13.html
The first failure is related to the following change:
https://docs.python.org/3.13/whatsnew/3.13.html#other-language-changes
"Compiler now strip indents from docstrings. This will reduce the size of bytecode cache (e.g. .pyc file). For example, cache file size for sqlalchemy.orm.session in SQLAlchemy 2.0 is reduced by about 5%. This change will affect tools using docstrings, like doctest.Compiler now strip indents from docstrings. This will reduce the size of bytecode cache (e.g. .pyc file). For example, cache file size for sqlalchemy.orm.session in SQLAlchemy 2.0 is reduced by about 5%. This change will affect tools using docstrings, like doctest."
If the four spaces at the beginning of the string ar removed, the tast passes, e.g.:
is changed to:
For the second failure, I have no proposed fix.
The text was updated successfully, but these errors were encountered: