Re: Tests break for me on python3.7

"John P. Rouillard" <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
Hi Ralf:

In message <[email protected]>,
Ralf Schlatterbeck writes:
>On Wed, Apr 29, 2020 at 01:07:48PM +0200, Ralf Schlatterbeck wrote:
>> 
>> Can someone enlighten me how to call the tests without that wrapper?
>> Should we ship two versions of the wrapper, one for older, one for newer
>> versions of python?
>
>Looks like
>python3 -m pytest test
>works. Shouldn't we document this and get rid of the wrapper script?

The reason for the script was that a user could test without
installing pytest. Sadly the latest versions of pytest do not support
a standalone pytest library. That being said,

  python3 ./run_test.py

works for me. Python is 3.6.9 on Ubuntu 18.04. I don't have mysql or
postgres instaled so those tests (and maybe the gpg tests) are
skipped, but others run through to completion.

It would be nice to figure out why its failing for you.

If we remove it, we need to include some directions on how to install
pytest (if not already installed) and run the tests. IIRC you can
install it with pip/pip3 in a user directory and it will be picked up
by python right?

Have a great day and thanks for testing.

--
				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.