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