e="doc-noteref"><sup>3</sup></a>. In the case of a Python project, you would probably use the <a href="https://docs.pytest.org/en/7.1.x/reference/reference.html#pytest-raises"><code>raises()</code> function from <code>pytest</code></a><a href="#fn4" class="footnote-ref" id="fnref4" role="doc-noteref"><sup>4</sup></a>. While in Rust, you would probably use <code>assert_eq!()</code> in conjunction with <code>Err()</code>.</p>
<p>But in Zig, we use the <code>expectError()</code> function, from the <code>std.te