Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_try_finally_raise fails on ubuntu-trusty with sage installed python 3.9 #155

Open
kliem opened this issue Nov 24, 2021 · 2 comments
Open

Comments

@kliem
Copy link

kliem commented Nov 24, 2021

On older systems the test test_try_finally_signal fails:

https://github.com/kliem/cysignals/actions/runs/1498523090

@kliem
Copy link
Author

kliem commented Nov 25, 2021

The failing systems are those that have Sage install its own python. This might be the cause for the problem, I will see if I can figure it out.

For some reason the exception is not registered properly. The execution of the doctester is interrupted, but there is no exception set (and there #156 also doesn't reveal anything new).

I will see if the shebang line has anything to do with it (in src/scripts/cysignals-CSI):

#!/usr/bin/env python3

@kliem
Copy link
Author

kliem commented Nov 25, 2021

Perhaps the most revealing error message is

[cysignals-git]   Expecting:
[cysignals-git]       Traceback (most recent call last):
[cysignals-git]       ...
[cysignals-git]       RuntimeError: Aborted
[cysignals-git]   ok
[cysignals-git]   Trying:
[cysignals-git]       from cysignals.tests import *
[cysignals-git]   Expecting nothing
[cysignals-git]   ok
[cysignals-git]   sig_error() without sig_on()
[cysignals-git]   sig_error() without sig_on()
[cysignals-git]   sig_error() without sig_on()
[cysignals-git]   sig_error() without sig_on()
[cysignals-git]   killed by signal: 6

By https://github.com/kliem/cysignals/runs/4320680407?check_suite_focus=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant