PyO3 / pyo3

Rust bindings for the Python interpreter
https://pyo3.rs
Other
11.47k stars 694 forks source link

ci: adjust test to avoid type inference #4199

Closed davidhewitt closed 1 month ago

davidhewitt commented 1 month ago

Watching new collaborators work at the PyCon sprints this week, this test frequently appears alongside other compile errors with type inference failures. I'm not entirely sure why the compiler only breaks this sometimes, but it's clearly unhelpful for new collaborators to see this.

I think changing a test from &[] to b"" is not going to need debate, so I'll merge this immediately.