Sindbad~EG File Manager
�
*Μg� � � � d Z ddlZddlZddlZd� Z G d� dej
� Zedk( r� ej d�� 5 Z e
ej � d k( r- ej d
ej j � �� n ej d
�� ddd� e D ] Z eej � � yy# 1 sw Y �$xY w)
a�
This module has a number of tests that raise different kinds of warnings.
When the tests are run, the warnings are caught and their messages are printed
to stdout. This module also accepts an arg that is then passed to
unittest.main to affect the behavior of warnings.
Test_TextTestRunner.test_warnings executes this script with different
combinations of warnings args and -W flags and check that the output is correct.
See #10535.
� Nc �8 � t j dt � y )N�rw)�warnings�warn�RuntimeWarning� � �>/usr/local/lib/python3.12/test/test_unittest/_test_warnings.py�warnfunr s � ��M�M�$��'r c �* � e Zd Zd� Zd� Zd� Zd� Zd� Zy)�TestWarningsc �L � | j dd� | j dd� y )N� � � )�assertAlmostEqual�assertNotAlmostEqual��selfs r
�test_other_unittestz TestWarnings.test_other_unittest s"