David
David

Reputation: 3056

Pytest does not run with python3

My pytest installation with ubuntu is not running with python3 instead it uses python 2.7

How am able to switch to python3 when running pytest?

python3 -m pytest . is working, but it is not an option, because the program, that runs my tests uses pytest ...

Upvotes: 0

Views: 321

Answers (1)

David
David

Reputation: 3056

I used pytest-3 to solve this problem.

Upvotes: 1

Related Questions