HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib64/python3.6/site-packages/borg/testsuite/__pycache__/lrucache.cpython-36.opt-1.pyc
3

y��b��@s2ddlmZddlZddlmZGdd�d�ZdS)�)�
TemporaryFileN�)�LRUCachec@seZdZdd�Zdd�ZdS)�TestLRUCachecCs�tddd�d�}xtd�D]\}}|||<qWtjt��|dWdQRXd|d<|d	=tjt��|d	WdQRX|j�dS)
NrcSsdS)N�)�_rr� /usr/lib64/python3.6/lrucache.py�<lambda>sz,TestLRUCache.test_lrucache.<locals>.<lambda>)�dispose�abc�a��d�c)r�	enumerate�pytestZraises�KeyError�clear)�selfr�i�xrrr�
test_lrucache
szTestLRUCache.test_lrucachecCsLtddd�d�}t�}t�}t�}||d<||d<||d<|d=|j�dS)NrcSs|j�S)N)�close)�frrrr	(sz+TestLRUCache.test_dispose.<locals>.<lambda>)r
�r
)rrr)rr�f1�f2Zf3rrr�test_dispose'szTestLRUCache.test_disposeN)�__name__�
__module__�__qualname__rrrrrrrsr)ZtempfilerrZlrucacherrrrrr�<module>s