Files
addon/lib/tornado/test/__main__.py
marco 5307db2a3c ops
2019-12-04 20:45:07 +01:00

15 lines
401 B
Python
Executable File

"""Shim to allow python -m tornado.test.
This only works in python 2.7+.
"""
from __future__ import absolute_import, division, print_function
from tornado.test.runtests import all, main
# tornado.testing.main autodiscovery relies on 'all' being present in
# the main module, so import it here even though it is not used directly.
# The following line prevents a pyflakes warning.
all = all
main()