Skip to content

Commit 612f8a8

Browse files
sfc-gh-pczajkasfc-gh-turbaszek
authored andcommitted
Fix Jenkins build (#2543)
1 parent 60f6186 commit 612f8a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/integ/test_dbapi.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,8 @@ def test_callproc_invalid(conn_cnx):
857857
# stored procedure does not exist
858858
with pytest.raises(errors.ProgrammingError) as pe:
859859
cur.callproc(name_sp)
860-
assert pe.value.errno == 2140
860+
# this value might differ between Snowflake environments
861+
assert pe.value.errno in [2140, 2139]
861862

862863
cur.execute(
863864
f"""

0 commit comments

Comments
 (0)