mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
Instead of overriding the process stderr to get the string representation from mlir we can can directly capture in into a string using mlir's printOperation. Another problem with overriding stderr is that each `#[test]` runs as a different thread meaning that as soon as we have 2+ tests the tests could panic due to conflicts/races between the different overrides. This also moves the expected string directly into the test as a literal.