Skip to content

Commit a2e4bc6

Browse files
authored
Generalising error check for future proofing (#239)
1 parent 969283c commit a2e4bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ext/pymysql/test_pymysql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ def test_execute_bad_query():
7676
assert sql['database_version']
7777

7878
exception = subsegment.cause['exceptions'][0]
79-
assert exception.type == 'InternalError'
79+
assert exception.type is not None

0 commit comments

Comments
 (0)