§
    ‹Ÿj#	  ã                   óL   — d dl Z d dlZd dlZdZdZ G 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
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dS )Ú
ImportTestc                 óÆ   — t          j        t          j        gt           j        ¬¦  «        }|                     t          ¦  «         |                      |j        d¦  «         d S ©N)Ústdinr   )	Ú
subprocessÚPopenÚsysÚ
executableÚPIPEÚcommunicateÚ_import_everythingÚassertEqualÚ
returncode©ÚselfÚprocs     úe/var/www/finuniver-perm.ru/html/student/venv/lib/python3.11/site-packages/tornado/test/import_test.pyÚtest_import_everythingz!ImportTest.test_import_everything.   sS   € õ
 Ô¥¤Ð 0½
¼ÐHÑHÔHˆØ×ÒÕ+Ñ,Ô,Ð,Ø×Ò˜œ¨!Ñ,Ô,Ð,Ð,Ð,ó    c                 óÆ   — t          j        t          j        gt           j        ¬¦  «        }|                     t          ¦  «         |                      |j        d¦  «         d S r   )	r   r	   r
   r   r   r   Ú_import_lazyr   r   r   s     r   Útest_lazy_importzImportTest.test_lazy_import7   sP   € åÔ¥¤Ð 0½
¼ÐHÑHÔHˆØ×Ò�Ñ&Ô&Ð&Ø×Ò˜œ¨!Ñ,Ô,Ð,Ð,Ð,r   c                 ó  — dd l }dd l}|                      |j        j        |j        j        ¦  «         |                      |j        j        |j        j        ¦  «         |                      |j        j        |j        ¦  «         d S )Nr   )ÚtornadoÚasyncioÚassertIsÚioloopÚTimeoutErrorÚutilÚgen)r   r   r   s      r   Útest_import_aliaseszImportTest.test_import_aliases=   sr   € àˆˆˆØˆˆˆà�Š�g”nÔ1°7´<Ô3LÑMÔMÐMØ�Š�g”kÔ.°´Ô0IÑJÔJÐJØ�Š�g”lÔ/°Ô1EÑFÔFÐFÐFÐFr   N)Ú__name__Ú
__module__Ú__qualname__r   r   r"   © r   r   r   r   -   sF   € € € € € ð-ð -ð -ð-ð -ð -ðGð Gð Gð Gð Gr   r   )r   r
   Úunittestr   r   ÚTestCaser   r&   r   r   ú<module>r)      ss   ðà Ð Ð Ð Ø 
€
€
€
Ø €€€ðÐ ð0€ðGð Gð Gð Gð G�Ô"ñ Gô Gð Gð Gð Gr   