[SQLObject] Python 2.7.12 + tox + PostgreSQL
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: Oleg B. <ph...@ph...> - 2016-08-25 21:18:54
|
Hi, All!
Recently tests started to fail both at Travis and Circle, but only
with Postgres. Initially I couldn't reproduce the problem locally but
after a dozen of experiments I got it: the problem manifests itself
only with Python 2.7.12 + tox + PostgreSQL. I have to install Python
2.7.12 and tox to reproduce it locally (I have Debian with Python 2.7.9
and I usually don't use tox - I run py.test directly).
Somehow I managed to fix tests by changing test order - I explicitly
listed tests directories with 'tests' at the top of the other dirs. Now
tests passed locally and at both CIs.
I understand neither the problem nor the solution. :-( Any idea?
Oleg.
--
Oleg Broytman http://phdru.name/ ph...@ph...
Programmers don't die, they just GOSUB without RETURN.
|