
    i;              	           S SK r S SKrS SKrS SKJr  SS jrS r\S:X  a^  \ R                  " SS9r	\	R                  SS	S
S9  \	R                  \R                  5      u  rr\R                  " \" \0 \" \5      D65        gg)    N)importlib_metadatac                    ^ [        U [        5      (       a  U /n / n[        R                  " SSS9 HG  mU (       a  [	        U4S jU  5       5      (       d  M&  U[        TR                  5       " 5       5      -  nMI     U$ )a  
If ``include_only`` is falsey, this functions returns paths from all entry points. Otherwise, this parameter
must be a string or sequence of strings. In this case, this function will return *only* paths from entry points
whose ``module_name`` begins with the provided string(s).
pyinstaller40tests)groupnamec              3   Z   >#    U  H   nTR                   R                  U5      v   M"     g 7fN)module
startswith).0r   entry_points     HC:\des-py\RoboSAPF\venv\Lib\site-packages\PyInstaller/utils/run_tests.py	<genexpr> paths_to_test.<locals>.<genexpr>%   s%     P<4;%%0066<s   (+)
isinstancestrr   entry_pointsanylistload)include_onlytest_path_listr   s     @r   paths_to_testr      sr     ,$$$~ N)66_SZ[ P<PPPd;#3#3#5#788N \     c            	          [        UR                  SS 5      S9nU(       d  [        S[        R                  S9  g[        SSR                  / UQU SS  Q5      -   5        [        R                  " / UQU SS  Q40 UD6$ )	Nr   )r   zError: no tests discovered.)file   zpytest     )r   popprintsysstderrjoinpytestmain)argskwargspathss      r   
run_pytestr+   -   s|    vzz.$'GHE+#**=  	i#((#6U#6T!"X#6778{{.U.T!"X.9&99r   __main__z Run PyInstaller packaging tests.)descriptionz--include_onlyappendz*Only run tests from the specified package.)actionhelpr
   )argparser#   r&   PyInstaller.compatr   r   r+   __name__ArgumentParserparseradd_argumentparse_known_argsargvr(   unknownexitvars r   r   <module>r=      s     
  12: z$$1STF
9  
 ++CHH5MD'HHZ/DJ/0 r   