Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (16 sloc) 0.725 kb
#!/bin/sh
# Run the Tornado test suite.
#
# Also consider using tox, which uses virtualenv to run the test suite
# under multiple versions of python.
#
# This script requires that `python` is python 2.x; to run the tests under
# python 3 tornado must be installed so that 2to3 is run. The easiest
# way to run the tests under python 3 is with tox: "tox -e py32".
cd $(dirname $0)
# "python -m" differs from "python tornado/test/runtests.py" in how it sets
# up the default python path. "python -m" uses the current directory,
# while "python file.py" uses the directory containing "file.py" (which is
# not what you want if file.py appears within a package you want to import
# from)
python -m tornado.test.runtests "$@"
Jump to Line
Something went wrong with that request. Please try again.