
    i                         d dl mZ d dl mZ d dlmZ d dlmZ 	 d dlmZ	 n# e
$ r	 d dlmZ	 Y nw xY w G d dej                  Zedk    r ej                     dS dS )    )print_function)absolute_import)allocate_lockNc                       e Zd Zd ZdS )TestLockc                    t                      }t                      }|                     t                    5 }|                                 d d d            n# 1 swxY w Y   |j        }|                     t                    5 }|                                 d d d            n# 1 swxY w Y   |j        }|                     |t          |                     d S )N)std_allocate_lockr   assertRaises	Exceptionrelease	exceptionassertIsInstancetype)selfstd_lockg_lockexcstd_excg_excs         D/usr/local/lib/python3.11/dist-packages/gevent/tests/test__thread.pytest_release_unheld_lockz!TestLock.test_release_unheld_lock   s4   $&&y)) 	S	 	 	 	 	 	 	 	 	 	 	 	 	 	 	-y)) 	SNN	 	 	 	 	 	 	 	 	 	 	 	 	 	 	eT']]33333s#   AAAB%%B),B)N)__name__
__module____qualname__r        r   r   r      s#        4 4 4 4 4r   r   __main__)
__future__r   r   gevent.threadr   gevent.testingtesting	greentest_threadr	   ImportErrorthreadTestCaser   r   mainr   r   r   <module>r(      s    % % % % % % & & & & & & ' ' ' ' ' ' " " " " " ":::::::: : : :99999999:4 4 4 4 4y! 4 4 4  zIN s   ! //