Skip to content

Commit 6a2126d

Browse files
authored
Merge pull request #163 from chanchiem/master
Fixes unit test for newer versions of psycopg2.
2 parents 3cec38d + 4b4422a commit 6a2126d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ext/psycopg2/test_psycopg2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def test_execute_bad_query():
144144
assert sql['database_version']
145145

146146
exception = subsegment.cause['exceptions'][0]
147-
assert exception.type == 'ProgrammingError'
147+
assert exception.type == 'UndefinedColumn'
148148

149149

150150
def test_register_extensions():

0 commit comments

Comments
 (0)