
    MhR                         d dl mZ d dlmZ d dlZd dlmZ d Zd Zej	        
                    ddd	g          d
             ZdS )    )Mapping)PathN)REGISTRYc                      t          j        d          } t          | t                    sJ | d         dk    sJ | d         dk    sJ d S )Nz'http://json-schema.org/draft-07/schema#z$idtitlezCore schema meta-schema)r   contents
isinstancer   )schemas    ~/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/jsonschema_specifications/tests/test_jsonschema_specifications.pytest_it_contains_metaschemasr   	   s[    HIIFfg&&&&&%=EEEEE'?7777777    c                  B    t          j                    t           k    sJ d S )N)r   crawl r   r   test_it_is_crawledr      s!    >x''''''r   ignored_relative_pathzschemas/.DS_Storezschemas/draft7/.DS_Storec                    ddl }t          |j                  j        }|| z  }|                                 	 t          |                                           |                                 dS # |                                 w xY w)z
    Ignore files like .DS_Store if someone has actually caused one to exist.

    We test here through the private interface as of course the global has
    already loaded our schemas.
    r   N)jsonschema_specificationsr   __file__parenttouchlist_schemasunlink)r   r   packageignoreds       r   test_it_copes_with_dotfilesr      s     %$$$,566=G--GMMOOO&//11222s   !A/ /B)collections.abcr   pathlibr   pytestr   r   r   r   markparametrizer   r   r   r   <module>r#      s    # # # # # #        . . . . . .8 8 8( ( ( 45  	   r   