+
    LV-jv  ã                   ó  € ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RIHtH	t	 ^ RI
t
^ RIt]
P                  ! 4       R 4       t ! R R4      t]
P                  ! RRR	7      R
 R l4       t]
P                  ! RR7      R 4       tR# )é    N)Údeque)Ú	GeneratorÚSequencec               #  ó(  "  € \         P                  ! R4      p V P                  P                  4        V P                  P                  4        V P                  P                  R4        V x € V P                  P                  4        V P                  P                  4        V P                  P                  R4       R#   T P                  P                  4        T P                  P                  4        T P                  P                  R4       i ; i5i)z(
Fixture providing a memory filesystem.
ÚmemoryÚ N)ÚfsspecÚ
filesystemÚstoreÚclearÚpseudo_dirsÚappend)Úms    Ú`/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/fsspec/conftest.pyr   r      s±   é € ô
 	×Ò˜(Ó#€AØ‡G�G‡M�M„OØ‡M�M×ÑÔØ‡M�M×Ñ˜Ôð!ØŠà	�‰�‰ŒØ	�‰×ÑÔØ	�‰×Ñ˜RÖ øð 	
�‰�‰ŒØ	�‰×ÑÔØ	�‰×Ñ˜RÕ üs    ‚A&DÁ)B> Á-ADÂ>ADÄDc                   óP   a € ] tR t^t o RtV 3R lR ltRR/V 3R lR lltRtV tR	# )
ÚInstanceCacheInspectorzI
Helper class to inspect instance caches of filesystem classes in tests.
c                ó   <€ V ^8„  d   QhRR/# ©é   ÚreturnN© )ÚformatÚ__classdict__s   "€r   Ú__annotate__Ú#InstanceCacheInspector.__annotate__$   s   ø€ ÷ 1ñ 1�tñ 1ó    c                óà   € \        \        P                  P                  .4      pV'       dB   VP	                  4       pVP                  4        VP                  VP                  4       4       KI  R# )zE
Clear instance caches of all currently imported filesystem classes.
N)r   r	   ÚspecÚAbstractFileSystemÚpopleftÚclear_instance_cacheÚextendÚ__subclasses__)ÚselfÚclassesÚclss   &  r   r   ÚInstanceCacheInspector.clear$   sP   € ô œŸ™×7Ñ7Ð8Ó9ˆßØ—/‘/Ó#ˆCØ×$Ñ$Ô&Ø�N‰N˜3×-Ñ-Ó/Ö0ñ r   Ú	omit_zeroTc                ó<   <€ V ^8„  d   QhRS[ RS[S[S[3,          /# )r   r(   r   )ÚboolÚdictÚstrÚint)r   r   s   "€r   r   r   .   s#   ø€ ÷ ñ ©$ð ¹$¹sÁC¸x½.ñ r   c               óà  € / p\        \        P                  P                  .4      pV'       dÀ   VP	                  4       p\        VP                  4      p\        VP                  \        \        34      '       dT   \        VP                  \        4      '       d   VP                  MVP                  ^ ,          pV'       g	   V'       g   WRV&   VP                  VP                  4       4       KÇ  V# )zË
Gather counts of filesystem instances in the instance caches
of all currently imported filesystem classes.

Parameters
----------
omit_zero:
    Whether to omit instance types with no cached instances.
)r   r	   r   r   r    ÚlenÚ_cacheÚ
isinstanceÚprotocolr   r,   r"   r#   )r$   r(   Úoutr%   r&   ÚcountÚkeys   &$     r   Úgather_countsÚ$InstanceCacheInspector.gather_counts.   s�   € ð !ˆÜœŸ™×7Ñ7Ð8Ó9ˆßØ—/‘/Ó#ˆCÜ˜Ÿ
™
“OˆEô ˜#Ÿ,™,¬´3¨×8Ò8Ü&0°·±¼s×&CÒ&C�c—l’lÈÏÉÐVWÍ�ß§	Ø$˜‘HØ�N‰N˜3×-Ñ-Ó/Ö0Øˆ
r   r   N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r6   Ú__static_attributes__Ú__classdictcell__)r   s   @r   r   r      s*   ø‡ € ñ÷1ð 1ð°÷ ÷ ð r   r   ÚfunctionT)ÚscopeÚautousec                ó@   € V ^8„  d   QhR\         \        RR3,          /# r   )r   r   )r   s   "r   r   r   H   s    € ÷ ñ œÔ#9¸4ÀÐ#EÕFñ r   c               #  ó–   "  € \        4       p V P                  4         V x € V P                  4        R#   T P                  4        i ; i5i)a7  
Fixture to ensure empty filesystem instance caches before and after a test.

Used by default for all tests.
Clears caches of all imported filesystem classes.
Can be used to write test assertions about instance caches.

Usage:

    def test_something(instance_caches):
        # Test code here
        fsspec.open("file://abc")
        fsspec.open("memory://foo/bar")

        # Test assertion
        assert instance_caches.gather_counts() == {"file": 1, "memory": 1}

Returns
-------
instance_caches: An instance cache inspector for clearing and inspecting caches.
N)r   r   )Úics    r   Úinstance_cachesrE   G   s4   é € ô. 
 Ó	!€Bà‡H�H„JðØŠà
�‰Ž
øˆ�‰�
üs   ‚A	ž4 ¢A	´AÁA	)r@   c              #  óÚ  "  € \         P                  ! R4       \        V 4      p\        \        P
                  P                  VR4      R4      ;_uu_ 4       pVP                  RR,          4       RRR4       \        P                  ! \        P                  RRRVR	R
RRR.
4      p \        P                  ! ^4       Rx € VP                  4        VP                  4         \         P"                  ! V 4       R#   + '       g   i     L’; i  \$         d     R# i ; i  TP                  4        TP                  4         \         P"                  ! T 4       i   \$         d     i i ; i; i5i)z.
Fixture providing a writable FTP filesystem.
Ú	pyftpdlibr3   Úwbs   helloi'  Nz-mz-dz-uÚuserz-PÚpassz-w)Ú	localhostiI  rI   rJ   )ÚpytestÚimportorskipr,   ÚopenÚosÚpathÚjoinÚwriteÚ
subprocessÚPopenÚsysÚ
executableÚtimeÚsleepÚ	terminateÚwaitÚshutilÚrmtreeÚ	Exception)ÚtmpdirÚdÚfÚPs   &   r   Úftp_writablerb   g   s
  é € ô
 ×Ò˜Ô$äˆF‹€AÜ	Œb�g‰g�l‰l˜1˜eÓ$ d×	+Ô	+¨qØ	�‰�˜5Õ Ô!÷ 
,ä×ÒÜ	�‰˜˜{¨D°!°T¸6À4ÈÐQUÐVó	€Að	Ü�
Š
�1ŒØ/Ò/à	�‰ŒØ	�‰Œð	Ü�MŠM˜&Ö!÷ 
,×	+ûô ô 	Úð	ûð	 	
�‰ŒØ	�‰Œð	Ü�MŠM˜&Õ!øÜô 	Ùð	ÿs~   ‚AE+ÁC9Á/6E+Â&D Ã  E+Ã!D Ã7E+Ã9D		ÄE+ÄDÄE+ÄDÄE+Ä!E(Å EÅE(ÅE%Å"E(Å$E%Å%E(Å(E+)rO   r[   rS   rU   rW   Úcollectionsr   Úcollections.abcr   r   rL   r	   Úfixturer   r   rE   rb   r   r   r   Ú<module>rf      s‚   ðÛ 	Û Û Û 
Û Ý ß /ã ã ð ‡‚Óñ!ó ð!÷ %ñ %ðP ‡‚�j¨$Ô/ôó 0ðð> ‡‚�jÔ!ñó "òr   