Skip to content

Commit

Permalink
Enable error on str-bytes comparison in pytest
Browse files Browse the repository at this point in the history
See #147
  • Loading branch information
dvarrazzo committed Nov 13, 2021
1 parent 6e6aca0 commit 298033b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions psycopg/tox.ini
Expand Up @@ -5,7 +5,7 @@ isolated_build = True
[testenv]
changedir = ..
commands =
pytest {posargs}
python -bb -m pytest {posargs}
passenv = PG* PSYCOPG_TEST_DSN PYTEST_ADDOPTS PSYCOPG_IMPL
extras = test
deps =
Expand All @@ -14,7 +14,7 @@ deps =
[testenv:dns]
changedir = ..
commands =
pytest {posargs}
python -bb -m pytest {posargs}
passenv = PG* PSYCOPG_TEST_DSN PYTEST_ADDOPTS PSYCOPG_IMPL
extras = test
deps =
Expand All @@ -23,7 +23,7 @@ deps =
[testenv:postgis]
changedir = ..
commands =
pytest {posargs}
python -bb -m pytest {posargs}
passenv = PG* PSYCOPG_TEST_DSN PYTEST_ADDOPTS PSYCOPG_IMPL
extras = test
deps =
Expand Down
2 changes: 1 addition & 1 deletion psycopg_c/tox.ini
Expand Up @@ -5,7 +5,7 @@ isolated_build = True
[testenv]
changedir = ..
commands =
pytest {posargs}
python -bb -m pytest {posargs}
passenv = PG* PSYCOPG_TEST_DSN PYTEST_ADDOPTS PSYCOPG_IMPL
deps =
-e {toxinidir}/../psycopg[test]
Expand Down

0 comments on commit 298033b

Please sign in to comment.