psycopg2/tests
Jon Dufresne 1a8e992fcc Use relative imports throughout tests
The tests relied on Python2 relative import semantics. Python3 changed
import semantics to always search sys.path by default. To import using a
relative path it must have a leading dot.

Forward compatible with newer Pythons.

Works towards the goal of moving tests outside of the installed package.

For more information, see PEP-328:

https://www.python.org/dev/peps/pep-0328/
2017-12-10 10:51:07 -08:00
..
__init__.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
dbapi20_tpc.py hook up two phase commit tests. 2010-11-05 09:34:47 +00:00
dbapi20.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_async_keyword.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_async.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_bug_gc.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_bugX000.py Python source cleanup using flake8 2016-10-11 00:11:55 +01:00
test_cancel.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_connection.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_copy.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_cursor.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_dates.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_errcodes.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_extras_dictcursor.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_fast_executemany.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_green.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_ipaddress.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_lobject.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_module.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_notify.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_psycopg2_dbapi20.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_quote.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_replication.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_sql.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_transaction.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_types_basic.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_types_extras.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_with.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
testconfig.py Test moved to the right module, cleanup, but same problem 2016-07-01 18:01:16 +01:00
testutils.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00