Skip to content

Commit

Permalink
Fix strange problem manifested with py 2.7.12
Browse files Browse the repository at this point in the history
Python 2.7.12 + tox + Postgres make a lot of tests fail. I do not
understand why. Running tests in a different order
(by explicitly listing tests directories) somehow fixes the problem.
Also don't know why. Let it stay this way for some time.
  • Loading branch information
phdru committed Aug 25, 2016
1 parent 69c0c3a commit f303ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ commands = {[mysql]commands}
[postgresql]
commands =
psql -c 'create database sqlobject_test;' -U postgres
py.test --cov=sqlobject -D postgres://postgres:@localhost/sqlobject_test
py.test --cov=sqlobject -D postgres://postgres:@localhost/sqlobject_test tests include/tests inheritance/tests versioning/test
psql -c 'drop database sqlobject_test;' -U postgres

[testenv:py26-postgres]
Expand Down

0 comments on commit f303ac2

Please sign in to comment.