Re: [sqlalchemy] running py.test

2018-02-14 Thread Simon King
The error is coming from here: https://github.com/zzzeek/sqlalchemy/blob/master/lib/sqlalchemy/testing/mock.py So I guess you could start by adding some print statements in that file to see where the exception is being raised. Perhaps you have a different "mock.py" somewhere on the PYTHONPATH tha

Re: [sqlalchemy] running py.test

2018-02-13 Thread su-sa
Hi Simon, I installed both pytest and mock using pip install py.test mock in the virtualenv. I am using anaconda python. Both the libraries are surely installed. On Friday, 9 February 2018 12:36:26 UTC+1, Simon King wrote: > On Wed, Feb 7, 2018 at 2:23 PM, su-sa > wrote: > > Hallo everyone,

Re: [sqlalchemy] running py.test

2018-02-09 Thread Simon King
On Wed, Feb 7, 2018 at 2:23 PM, su-sa wrote: > Hallo everyone, > > I am trying to run all the pytest of sqlalchemy. But I always get the error > - SQLAlchemy requires Mock as of version 0.8.2. I already have the mock > library installed. Could somebody please help me to solve the problem. > How h