Skip to content

Fix tests with IPython 9#200

Merged
olebole merged 1 commit intomainfrom
ipython9
Mar 16, 2026
Merged

Fix tests with IPython 9#200
olebole merged 1 commit intomainfrom
ipython9

Conversation

@olebole
Copy link
Copy Markdown
Member

@olebole olebole commented Mar 14, 2026

From @chronitis https://bugs.debian.org/1129367:

Autopkgtest test_invocation:test_invoke_command_ipython fails with IPython 9.x (having passed with 8.x).

It looks like this is due to the pyraf test suite assuming that the output from IPython can be decoded as ASCII-only; I'm not sure exactly what it chokes on, but presumably it now emits some unicode in a standard session:

self.stdout = self.stdout.decode('ascii')

I think this is a test-only issue, although it's possible a similar runtime issue might be buried in pyraf/ipython_api.py

@olebole olebole merged commit b6881e2 into main Mar 16, 2026
6 checks passed
@olebole olebole deleted the ipython9 branch March 16, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant