Lunderberg opened a new pull request, #15981: URL: https://github.com/apache/tvm/pull/15981
- Removed unused `import os` - Used `tvm.testing.main()` inside `if __name__=="__main__"` - Added parametrized fixture `exec_mode` instead of marking all tests. - Replace `@pytest.mark.xfail` with `with pytest.raises`, based on intended test behavior in comments. The `@pytest.mark.xfail` allows a test to fail, and is intended for marking known bugs or not-yet-implemented functionality. `with pytest.raises` requires that the block throw an instead of `@pytest.mark.xfail`, and is intended for validating that error-checking paths function correctly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
