diff --git a/tests/system-test/0-others/user_control.py b/tests/system-test/0-others/user_control.py index da6b78a5fa..6fe1166cf4 100644 --- a/tests/system-test/0-others/user_control.py +++ b/tests/system-test/0-others/user_control.py @@ -169,7 +169,7 @@ class TDTestCase: login_except = False try: with taos_connect(user=user, passwd=passwd) as conn: - pass + cursor = conn.cursor() except BaseException: login_except = True cursor = None