Errors when trying to run Flask's testsuite Errors when trying to run Flask's testsuite flask flask

Errors when trying to run Flask's testsuite


Now that Flask 1.0 is out, pytest alone will only run the tests in the tests directory. After installing the examples, use pytest tests examples to test both.

pip install -e examples/tutorialpip install -e examples/javascriptpytest tests examples

The contributing docs are were out of date, you need to run pytest tests. If you want to test the examples (which is what's failing now) you need to install them like tox does.

pip install -e examples/flaskrpip install -e examples/minitwitpip install -e examples/patterns/largerapppytest

Alternatively, run tox -e py to run the entire test suite, or tox to run the suite on all supported Python versions.