Running sqlalchemy in test environment keep on giving the weird error:

The code in teardown method:

from sqlalchemy_utils import drop_database
drop_database(TEST_URI)


(psycopg2.ProgrammingError) must be a member of the role whose process is 
being terminated

Wondering if there is a reason for this error or it is just a hiccup?

My SO question:
intermittent-sqlalchemy-drop-database-error-psycopg2-programmingerror-must-be 
<https://stackoverflow.com/questions/52333598/intermittent-sqlalchemy-drop-database-error-psycopg2-programmingerror-must-be>

Might be related to open issue: 
https://github.com/Overseas-Student-Living/sqlalchemy-diff/issues/10

Thanks

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to