change error wording determination to comply tdengine's change.

This commit is contained in:
Shuduo Sang 2020-07-31 10:17:02 +08:00
parent 6c7eab55e5
commit e91761c1a7
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class Test:
tdSql.query("select * from st")
except Exception as e:
tdLog.info("Exception catched: %s" % repr(e))
if ('mnode invalid table name' not in repr(e)):
if ('Table does not exist' not in repr(e)):
raise Exception(repr(e))
def create_stable(self):