File: //lib/python3.12/unittest/__pycache__/runner.cpython-312.pyc
�
    )!�h�(  �                   �   � d Z ddlZddlZddlZddlmZ ddlmZ ddlm	Z	 dZ
 G d� d	e�      Z G d
� dej                  �      Z G d� d
e�      Zy)z
Running tests�    N�   )�result)�_SubTest)�registerResultTc                   �$   � e Zd ZdZd� Zd� Zdd�Zy)�_WritelnDecoratorz@Used to decorate file-like objects with a handy 'writeln' methodc                 �   � || _         y �N)�stream)�selfr   s     �&/usr/lib/python3.12/unittest/runner.py�__init__z_WritelnDecorator.__init__   s	   � ����    c                 �L   � |dv rt        |�      �t        | j                  |�      S )N)r   �__getstate__)�AttributeError�getattrr   )r   �attrs     r
   �__getattr__z_WritelnDecorator.__getattr__   s'