Skip to content

Commit ebaf2ef

Browse files
committed
Improve tracebacks for CI
1 parent c05bd1b commit ebaf2ef

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ format:
1414
poetry run black .
1515

1616
test:
17-
poetry run pytest -s -x --capture=no --tb=short
17+
poetry run pytest -s -x

database/tests/test_database.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,7 @@ def test_server_bound_parameters_invalid_3(db):
275275

276276
@mark.skip(reason="This is based on older, psycopg2-style parameter binding.")
277277
def test_server_bound_parameters_dbapi_extensions(db):
278-
from psycopg2.extensions import AsIs
279-
278+
# from psycopg2.extensions import AsIs
280279
sql = "SELECT name FROM %(table_name)s WHERE name = %(name)s"
281280
res = db.run_query(sql, {"name": "Test", "table_name": AsIs("sample")})
282281
assert res.scalar() == "Test"

0 commit comments

Comments
 (0)