8000 Add constants and tests related to query timeouts by Nothing4You · Pull Request #1033 · PyMySQL/PyMySQL · GitHub
[go: up one dir, main page]

Skip to content

Add constants and tests related to query timeouts #1033

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 23, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
black
  • Loading branch information
methane committed May 23, 2023
commit 4fc712dc085d8ddfd4401990f92a58fc3ff25dfc
4 changes: 1 addition & 3 deletions pymysql/tests/test_SSCursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,7 @@ def test_execution_time_limit(self):
# what was returned before, may have been ER_QUERY_INTERRUPTED
self.assertEqual(cm.value.args[0], ER.QUERY_TIMEOUT)
else:
self.assertEqual(
cm.value.args[0], ER.STATEMENT_TIMEOUT
)
self.assertEqual(cm.value.args[0], ER.STATEMENT_TIMEOUT)

# connection should still be fine at this point
cur.execute("SELECT 1")
Expand Down
0