
    X-Ph                    X    d dl mZ d dlZd dlmZmZmZmZ  G d dej                  Z	dS )    )annotationsN)%is_module_from_legacy_bundled_packagelegacy_bundled_packagesnon_bundled_packages_flatstub_distribution_namec                  &    e Zd ZddZddZddZdS )TestStubInforeturnNonec                    t          d          rJ t          d          rJ t          d          sJ t          d          sJ d S )Nfoobar_asdfPILpycurl
dateparser)r   selfs    V/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/mypy/test/teststubinfo.pytest_is_legacy_bundled_packagesz,TestStubInfo.test_is_legacy_bundled_packages   sX    8GGGGG8?????4X>>>>>4\BBBBBBB    c                h   t          d          J t          d          dk    sJ t          d          dk    sJ t          d          dk    sJ t          d          dk    sJ t          d	          J t          d
          dk    sJ t          d          dk    sJ t          d          J d S )Nr   r   ztypes-pycurlbs4ztypes-beautifulsoup4zgoogle.cloud.ndbztypes-google-cloud-ndbzgoogle.cloud.ndb.submodulezgoogle.cloud.unknownzgoogle.protobufztypes-protobufzgoogle.protobuf.submodulegoogle)r   r   s    r   test_stub_distribution_namez(TestStubInfo.test_stub_distribution_name   s    %m44<<<%h//>AAAA%e,,0FFFFF%&899=UUUUU%&BCCG_____%&<==EEE%&788<LLLLL%&ABBFVVVVV%h//77777r   c                >    t           t          fD ]}|D ]}d|vsJ 	d S )N.)r   r   )r   packagestop_level_modules      r   test_period_in_top_levelz%TestStubInfo.test_period_in_top_level   sK    24KL 	3 	3H$, 3 3 "2222223	3 	3r   N)r
   r   )__name__
__module____qualname__r   r   r    r   r   r	   r	      sT        C C C C	8 	8 	8 	83 3 3 3 3 3r   r	   )

__future__r   unittestmypy.stubinfor   r   r   r   TestCaser	   r"   r   r   <module>r'      s    " " " " " "            3 3 3 3 38$ 3 3 3 3 3r   