U
    d                     @   s2   d dl Z d dlZd dlZdZG dd dejZdS )    Ns  
# The event loop is not fork-safe, and it's easy to initialize an asyncio.Future
# at startup, which in turn creates the default event loop and prevents forking.
# Explicitly disallow the default event loop so that an error will be raised
# if something tries to touch it.
import asyncio
asyncio.set_event_loop(None)

import tornado.auth
import tornado.autoreload
import tornado.concurrent
import tornado.escape
import tornado.gen
import tornado.http1connection
import tornado.httpclient
import tornado.httpserver
import tornado.httputil
import tornado.ioloop
import tornado.iostream
import tornado.locale
import tornado.log
import tornado.netutil
import tornado.options
import tornado.process
import tornado.simple_httpclient
import tornado.tcpserver
import tornado.tcpclient
import tornado.template
import tornado.testing
import tornado.util
import tornado.web
import tornado.websocket
import tornado.wsgi

try:
    import pycurl
except ImportError:
    pass
else:
    import tornado.curl_httpclient
c                   @   s   e Zd Zdd Zdd ZdS )
ImportTestc                 C   s0   t jtjgt jd}|t | |jd d S )N)stdinr   )	
subprocessPopensys
executablePIPEcommunicate_import_everythingassertEqual
returncode)selfproc r   </tmp/pip-unpacked-wheel-fekwu36z/tornado/test/import_test.pytest_import_everything2   s    
z!ImportTest.test_import_everythingc                 C   s^   dd l }dd l}dd l}dd l}| |jj|jj | |jj|jj | |jj|j d S )Nr   )	Ztornado.ioloopZtornado.genZtornado.utilasyncioZassertIsZioloopTimeoutErrorutilgen)r   Ztornador   r   r   r   test_import_aliases;   s    zImportTest.test_import_aliasesN)__name__
__module____qualname__r   r   r   r   r   r   r   1   s   	r   )r   r   Zunittestr
   ZTestCaser   r   r   r   r   <module>   s   +