forked from tornadoweb/tornado
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Encourage "python -m tornado.test.runtests" as the way to run the tests.
Remove execute bit from tornado/test/runtests.py, which would unexpectedly run the tests from a globally-installed version of tornado when run directly. Add a new runtests.sh to make the recommended behavior more discoverable. Remove run_pyversion_tests.py, which has been superceded by tox. Update docs. Closes tornadoweb#545.
- Loading branch information
Showing
5 changed files
with
13 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
|
||
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 "$@" |
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters