Ë
    êmxi#	  ã                   óN   — d dl Z d dlZd dlZdZdZ G d„ dej
                  «      Zy)é    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
import warnings
with warnings.catch_warnings():
    warnings.simplefilter("ignore", DeprecationWarning)
    asyncio.set_event_loop(None)

import importlib
import tornado

for mod in tornado.__all__:
    if mod == "curl_httpclient":
        # This module has extra dependencies; skip it if they're not installed.
        try:
            import pycurl
        except ImportError:
            continue
    importlib.import_module(f"tornado.{mod}")
s.  
import sys
import tornado

if "tornado.web" in sys.modules:
    raise Exception("unexpected eager import")

# Trigger a lazy import by referring to something in a submodule.
tornado.web.RequestHandler

if "tornado.web" not in sys.modules:
    raise Exception("lazy import did not update sys.modules")
c                   ó   — e Zd Zd„ Zd„ Zd„ Zy)Ú
ImportTestc                 óÎ   — t        j                  t        j                  gt         j                  ¬«      }|j                  t        «       | j                  |j                  d«       y ©N)Ústdinr   )	Ú
subprocessÚPopenÚsysÚ
executableÚPIPEÚcommunicateÚ_import_everythingÚassertEqualÚ
returncode©ÚselfÚprocs     úO/home/htdocs/ttos/venv/lib/python3.12/site-packages/tornado/test/import_test.pyÚtest_import_everythingz!ImportTest.test_import_everything.   sD   € ô
 ×Ñ¤§¡Ð 0¼
¿¹ÔHˆØ×ÑÔ+Ô,Ø×Ñ˜Ÿ™¨!Õ,ó    c                 óÎ   — t        j                  t        j                  gt         j                  ¬«      }|j                  t        «       | j                  |j                  d«       y r   )	r   r	   r
   r   r   r   Ú_import_lazyr   r   r   s     r   Útest_lazy_importzImportTest.test_lazy_import7   sA   € ä×Ñ¤§¡Ð 0¼
¿¹ÔHˆØ×ÑœÔ&Ø×Ñ˜Ÿ™¨!Õ,r   c                 ó\  — dd l }dd l}| j                  |j                  j                  |j
                  j                  «       | j                  |j                  j                  |j
                  j                  «       | j                  |j
                  j                  |j                  «       y )Nr   )ÚtornadoÚasyncioÚassertIsÚioloopÚTimeoutErrorÚutilÚgen)r   r   r   s      r   Útest_import_aliaseszImportTest.test_import_aliases=   sj   € ãÛà�‰�g—n‘n×1Ñ1°7·<±<×3LÑ3LÔMØ�‰�g—k‘k×.Ñ.°·±×0IÑ0IÔJØ�‰�g—l‘l×/Ñ/°×1EÑ1EÕFr   N)Ú__name__Ú
__module__Ú__qualname__r   r   r"   © r   r   r   r   -   s   „ ò-ò-óGr   r   )r   r
   Úunittestr   r   ÚTestCaser   r&   r   r   ú<module>r)      s1   ðã Û 
Û ðÐ ð0€ôG�×"Ñ"õ Gr   