
    VfdR                     "    d dl Z d dlZd Zd ZdS )    Nc                      d} t           j        dz   | z   dz   } t          j        | dd          }|                                 |j        }|dk    sJ d S )Nz|import statsmodels.api as sm; import sys; mods = [x for x in sys.modules if 'matplotlib.pyplot' in x]; assert not mods, modsz -c ""T)shell	close_fdsr   )sys
executable
subprocessPopenwait
returncode)cmdprcs      >lib/python3.11/site-packages/statsmodels/tests/test_package.pytest_lazy_importsr      s]    #C .7
"S
(3
.CDD999AFFHHH	
B777777    c                      t           j        dz   } t          j        | dt          j        t          j                  }|                                }|j        }|dk    s
J |            d S )Nz& -OO -c "import statsmodels.api as sm"T)r   stdoutstderrr   )r   r   r	   r
   PIPEcommunicater   )r   r   outr   s       r   "test_docstring_optimization_compatr      s^    
.C
CCD *	1 	1 	1A
--//C	
B777C77777r   )r	   r   r   r    r   r   <module>r      sB        




 
 
    r   