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
The report function defined within the py_run! source will print errors like the following, and the test will fail:
Exception ignored in sys.unraisablehook: <function report at 0x102e94040>
Traceback (most recent call last):
File "<string>", line 5, in report
NameError: name 'captured' is not defined
Exception ignored in sys.unraisablehook: <function report at 0x102e94040>
Traceback (most recent call last):
File "<string>", line 5, in report
NameError: name 'captured' is not defined
Traceback (most recent call last):
File "<string>", line 12, in <module>
AssertionError
Steps to Reproduce
As above
Backtrace
No response
Your operating system and version
macOS Ventura 13.1
Your Python version (python --version)
Python 3.10.9
Your Rust version (rustc --version)
rustc 1.67.0-beta.2
Your PyO3 version
0.18.0
How did you install python? Did you use a virtualenv?
brew + vent
Additional Info
No response
The text was updated successfully, but these errors were encountered:
Bug Description
Try the following code (originally discussed in #2889).
The
report
function defined within thepy_run!
source will print errors like the following, and the test will fail:Steps to Reproduce
As above
Backtrace
No response
Your operating system and version
macOS Ventura 13.1
Your Python version (
python --version
)Python 3.10.9
Your Rust version (
rustc --version
)rustc 1.67.0-beta.2
Your PyO3 version
0.18.0
How did you install python? Did you use a virtualenv?
brew + vent
Additional Info
No response
The text was updated successfully, but these errors were encountered: