관리-도구
편집 파일: test_components.cpython-311.pyc
� �܋f� � �f � d dl mZmZ d dlmZmZ d dlmZ d dlm Z d dl mZ G d� de � � ZdS ) � )�Mock�call)�Replacer�compare)�TestComponents)�TestCase)�catch_warningsc � � e Zd Zd� ZdS )�ComponentsTestsc �� � t � � }t � � 5 }|� d|j � � t � � }t j |j � � g}t ||j � � t d�� � 5 }|� � � | � t |� � d� � t t |d j � � d� � d d d � � n# 1 swxY w Y |� � � t ||j � � |� � � t ||j � � d d d � � d S # 1 swxY w Y d S )Nzatexit.registerT)�record� r z5TestComponents instances not uninstalled by shutdown!)r r �replace�registerr r �atexitr � mock_callsr � assertTrue�len�str�message� uninstall)�self�m�r�c�expected�ws �s/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/testfixtures/tests/test_components.py�test_atexitzComponentsTests.test_atexit s� � ��F�F�� �Z�Z� ,�1� �I�I�'���4�4�4�� � �A�� �a�h�/�/�0�H��H�a�l�+�+�+��t�,�,�,� ����� � � �����A����*�*�*���A�a�D�L�)�)�K�� � � � � � � � � � � � � ���� � � � � �K�K�M�M�M��H�a�l�+�+�+� �H�H�J�J�J��H�a�l�+�+�+�/ ,� ,� ,� ,� ,� ,� ,� ,� ,� ,� ,� ,���� ,� ,� ,� ,� ,� ,s8 �A)E�A C2�&E�2C6 �6E�9C6 �:AE�E �#E N)�__name__� __module__�__qualname__r � � r r r s# � � � � � �,� ,� ,� ,� ,r$ r N) �testfixtures.mockr r �testfixturesr r �testfixtures.componentsr �unittestr �warningsr r r# r$ r �<module>r* s� �� (� (� (� (� (� (� (� (� *� *� *� *� *� *� *� *� 2� 2� 2� 2� 2� 2� � � � � � � #� #� #� #� #� #�,� ,� ,� ,� ,�h� ,� ,� ,� ,� ,r$