areusch commented on code in PR #10529:
URL: https://github.com/apache/tvm/pull/10529#discussion_r846434319


##########
tests/python/relay/test_executor.py:
##########
@@ -44,12 +44,15 @@ def test_attr_check():
 
 
 def test_create_executor_not_found():
-    with pytest.raises(TVMError, match='Executor "woof" is not defined'):
+    with pytest.raises(TVMError, match='Executor "woof" is not defined.'):
         Executor("woof", {})
 
 
 def test_create_executor_attr_not_found():
-    with pytest.raises(TVMError, match='Attribute "woof" is not available on 
this Executor'):
+    with pytest.raises(
+        TVMError,
+        match='TVMError: Executor "aot": Attribute "woof" not 
in.*workspace-byte-alignment, unpacked-api, interface-api, link-params',

Review Comment:
   i think you may just need an extra `.*` at the end of the match string here



-- 
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]

Reply via email to