Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ban-relative-imports = True
inline-quotes = "

[tool:pytest]
addopts= --tb native -n4 -v -r fxX --maxfail=25 -p no:warnings
addopts= --tb native -n1 -v -r fxX --maxfail=25 -p no:warnings
python_files=tests/*test_*.py
# python_functions=test_round_trip_same_named_column
# log_level=DEBUG
Expand Down
7 changes: 4 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
from sqlalchemy import event, text
from sqlalchemy import Engine


@event.listens_for(Engine, "connect")
def receive_engine_connect(conn, r):
cur = conn.cursor()
cur.execute('SET global format_null_as_str = 0')
cur.execute('SET global enable_geo_create_table = 1')
try:
cur.execute("SET global sequence_step_size = 1")
except:
pass # don't fail when this setting doesn't exist
cur.close()