
    UgB                     $    d dl Z d dlZd dlZd ZdS )    Nc                     t          j        t          j                  j        j        dz  } |                                 st          j        d           t          j        t          j                  j        }|                                 	                    d          }d |D             }|
                    d          D ]7}|                    |j                  }|                    d          }||v sJ 8dS )zACheck the consistence of the files generated from template files.z
.gitignorez(Tests are not run from the source folder
c                 6    g | ]}t          j        |          S  )pathlibPath).0lines     i/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/sklearn/utils/tests/test_cython_templating.py
<listcomp>zEtest_files_generated_by_templates_are_git_ignored.<locals>.<listcomp>   s"    BBBDW\$''BBB    z**/*.tp N)r   r   sklearn__file__parentexistspytestskip	read_textsplitglobrelative_towith_suffix)gitignore_filebase_dirignored_filesfilenamefilename_wo_tempita_suffixs        r   1test_files_generated_by_templates_are_git_ignoredr      s    \'"233:ALPN  "" @>???|G,--4H",,..44T::MBBMBBBMMM),, ; ;''88%-%9%9"%=%=")]:::::	; ;r   )r   r   r   r   r   r   r   <module>r       s9      ; ; ; ; ;r   