Skip to content

Commit

Permalink
i
Browse files Browse the repository at this point in the history
  • Loading branch information
tlocke committed Apr 28, 2024
1 parent a597767 commit 930c066
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/dbapi/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ def test_password_bytes(con, db_kwargs):
db_kwargs["password"] = password.encode("utf8")
db_kwargs["database"] = "pg8000_md5"
with pytest.raises(DatabaseError, match="3D000"):
connect(**db_kwargs)
with connect(**db_kwargs):
pass

cur.execute("drop role " + username)
con.commit()
Expand Down

0 comments on commit 930c066

Please sign in to comment.