/usr/lib/python3/dist-packages/psycopg2/tests/ is in python3-psycopg2 2.7.4-1.
This file is owned by root:root, with mode 0o755.
..
/usr/lib/python3/dist-packages/psycopg2/tests/__init__.py
/usr/lib/python3/dist-packages/psycopg2/tests/dbapi20.py
/usr/lib/python3/dist-packages/psycopg2/tests/dbapi20_tpc.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_async.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_async_keyword.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_bugX000.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_bug_gc.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_cancel.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_connection.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_copy.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_cursor.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_dates.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_errcodes.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_extras_dictcursor.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_fast_executemany.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_green.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_ipaddress.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_lobject.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_module.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_notify.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_psycopg2_dbapi20.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_quote.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_replication.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_sql.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_transaction.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_types_basic.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_types_extras.py
/usr/lib/python3/dist-packages/psycopg2/tests/test_with.py
/usr/lib/python3/dist-packages/psycopg2/tests/testconfig.py
/usr/lib/python3/dist-packages/psycopg2/tests/testutils.py