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


##########
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:
   Hi, when I do this directly, it results in 
   docker/bash.sh ci_cpu python3 -mpylint tests/python/relay/test_executor.py
   REPO_DIR: home/xxx/MyGithub/tvm
   DOCKER CONTAINER NAME: tlcpack/ci-cpu:v0.83
   
   Running 'python3 -mpylint tests/python/relay/test_executor.py' inside 
tlcpack/ci-cpu:v0.83...
   mesg: ttyname failed: Inappropriate ioctl for device
   Adding group `xxx' (GID 1683538626) ...
   Done.
   /usr/bin/python3: No module named pylint
   
   I understand that this should work for python tests without rebuilding it. I 
just tried to rebuild the docker container after this failed. But out of 
curiosity: For C++ tests it must be rebuilt, right?
   



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