Closed felipecruz closed 11 years ago
Hello,
This import below, generates an error during tests: https://github.com/chtd/psycopg2cffi/blob/master/psycopg2cffi/tests/psycopg2_tests/test_notify.py#L67
I added this 2 lines (below) and it worked. I'm not sure if this is a problem with my environment but it doesn't look like..
from psycopg2cffi import compat compat.register()
I added the same to run tests - they were adopted from psycopg2, and assume it is installed. I think it is better to change them to import psycopg2cffi instead, I will do it later today.
Hello,
This import below, generates an error during tests: https://github.com/chtd/psycopg2cffi/blob/master/psycopg2cffi/tests/psycopg2_tests/test_notify.py#L67
I added this 2 lines (below) and it worked. I'm not sure if this is a problem with my environment but it doesn't look like..