← Back
Editing: conftest.cpython-311.pyc
� �@�c: � �� � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZ ej d� � ddl m Z d� Zd� Z ej dd� � � d � � � Zdd�Zd� Zd � Z e� � dS )� NzIPython.testing.tools� )�toolsc � � | D ]K}t j |j � � r|� d� � t j |j � � rJ ��LdS )z�This function is automatically run by pytest passing all collected test functions. We use it to add asyncio marker to all async tests and assert we don't use test functions that are async generators which wouldn't make sense. �asyncioN)�inspect�iscoroutinefunction�obj� add_marker�isasyncgenfunction)�items�items �2/usr/lib/python3/dist-packages/IPython/conftest.py�pytest_collection_modifyitemsr s` � � � 8� 8���&�t�x�0�0� '��O�O�I�&�&�&��-�d�h�7�7�7�7�7�7�8� 8� c � � ddl m} | j r| � � � S t j � � }d|j _ | � |�� � }|S )Nr )�TerminalInteractiveShellT)�config)�terminal.interactiveshellr � _instance�instancer �default_config� simple_prompt)r r �shells r �get_ipythonr sg � �C�C�C�C�C�C��)� 3�'�0�0�2�2�2� � !� #� #�F�48�F�#�1� %�-�-�V�-�<�<�E��Lr �sessionT)�scope�autousec # �j K � t j d� � } t | � � � � � t j d<