diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-06-09 10:59:23 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-06-09 11:59:22 -0400 |
commit | b0bf421f1b12eeedd77ec6c39df8e5e6cc1fcc3f (patch) | |
tree | 8905048db510986642f7978192751f3d471661ad /test/dialect/postgresql/test_reflection.py | |
parent | e2521b595ae8b5b4ca8147c5ee13e2fc0f597e63 (diff) | |
download | sqlalchemy-b0bf421f1b12eeedd77ec6c39df8e5e6cc1fcc3f.tar.gz |
psycopg2 NOTICE fixup
- don't call relatively expensive isEnabledFor(), just call _log_notices
- don't reset the list if it's empty
- fix the test to use a custom function to definitely create a notice, confirmed
that PG seems to no longer create the "implicit sequence" notices
- assert that the reset of the notices works too
- update the docs to illustrate for folks who haven't worked with logging before
Change-Id: I7291e647c177d338e0ad673f3106b4d503e4b3ea
Diffstat (limited to 'test/dialect/postgresql/test_reflection.py')
0 files changed, 0 insertions, 0 deletions