(self, *statements)
| 775 | |
| 776 | class TestIOLoopConfiguration(unittest.TestCase): |
| 777 | def run_python(self, *statements): |
| 778 | stmt_list = [ |
| 779 | "from tornado.ioloop import IOLoop", |
| 780 | "classname = lambda x: x.__class__.__name__", |
| 781 | ] + list(statements) |
| 782 | args = [sys.executable, "-c", "; ".join(stmt_list)] |
| 783 | return native_str(subprocess.check_output(args)).strip() |
| 784 | |
| 785 | def test_default(self): |
| 786 | # When asyncio is available, it is used by default. |
no test coverage detected