kparzysz-quic opened a new pull request, #15138:
URL: https://github.com/apache/tvm/pull/15138
The original code has
```
with pytest.raises(tvm.error.TVMError):
s.astype("int")
assert "Can't cast a handle to other types" in str(e)
```
The `astype` is expected to throw a TVMError exception, but if it does, the
following assertion never gets executed.
Add try/except to the test to verify that the expected exception is thrown.
--
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]