+
    Bi                     n   ^ RI t ^ RIt^ RIt^ RIHt ^RIHt  ! R R]P                  ]P                  4      t ! R R4      t	 ! R R	]	]P                  ]P                  4      t ! R
 R]	]P                  4      t ! R R]	]P                  ]P                  4      t]R8X  d   ]P                   ! 4        R# R# )    N)	resources)utilc                   &   a  ] tR t^	t o R tRtV tR# )CommonTestsc                    \         P                  ! \         P                  ! V4      P                  V4      4      ;_uu_ 4         R R R 4       R #   + '       g   i     R # ; i)N)r   as_filefilesjoinpath)selfpackagepaths   &&&>/usr/lib/python3.14/test/test_importlib/resources/test_path.pyexecuteCommonTests.execute
   s:    yw7@@FGG HGGGs   AA	 N)__name__
__module____qualname____firstlineno__r   __static_attributes____classdictcell____classdict__s   @r   r   r   	   s          r   c                   &   a  ] tR t^t o R tRtV tR# )	PathTestsc           	        \         P                  ! V P                  4      R,          p\         P                  ! V4      ;_uu_ 4       pV P	                  V\
        P                  4       V P                  VP                  R4       V P                  RVP                  RR7      4       RRR4       R#   + '       g   i     R# ; i)z6
Path should be readable and a pathlib.Path instance.

utf-8.filezHello, UTF-8 world!
zutf-8)encodingN)r   r	   datar   assertIsInstancepathlibPathassertEndsWithnameassertEqual	read_textr   targetr   s   &  r   test_readingPathTests.test_reading   s     +l:v&&$!!$5		<84dnngn6VW '&&&s   AB//C 	r   N)r   r   r   r   r*   r   r   r   s   @r   r   r      s     X Xr   r   c                   &   a  ] tR t^t o R tRtV tR# )PathDiskTestsc                    \         P                  ! V P                  4      R ,          p\         P                  ! V4      ;_uu_ 4       pRRR4       R#   + '       g   i     R# ; i)r   N)r   r	   r    r   r(   s   &  r   test_natural_pathPathDiskTests.test_natural_path   s;     +l:v&&$&&&&s   AA"	r   N)r   r   r   r   r/   r   r   r   s   @r   r-   r-      s     ' 'r   r-   c                   &   a  ] tR t^%t o R tRtV tR# )PathMemoryTestsc                    \         P                  ! R 4      pV P                  VP                  4       \        P
                  ! V\        R4      R7      V n        RV P                  P                  n	        RV P                  P                  n
        R# )s   Hello, UTF-8 world!
zpackage exists only in memory)filer   NF)ioBytesIO
addCleanupcloser   create_packageFileNotFoundErrorr    __spec__originhas_location)r   r4   s   & r   setUpPathMemoryTests.setUp&   se    zz23

#''-.MN
	 %)		!*/		'r   )r    N)r   r   r   r   r>   r   r   r   s   @r   r2   r2   %   s     0 0r   r2   c                   &   a  ] tR t^0t o R tRtV tR# )PathZipTestsc                    \         P                  ! V P                  4      R,          p\         P                  ! V4      ;_uu_ 4       pVP	                  4        RRR4       R#   + '       g   i     R# ; i)zu
It is not an error if the file that was temporarily stashed on the
file system is removed inside the `with` stanza.
r   N)r   r	   r    r   unlinkr(   s   &  r   test_remove_in_context_manager+PathZipTests.test_remove_in_context_manager1   sF    
 +l:v&&$KKM '&&&s   A!!A2	r   N)r   r   r   r   rD   r   r   r   s   @r   rA   rA   0   s      r   rA   __main__)r5   r"   unittest	importlibr    r   r   TestCaser   	DiskSetupr-   r2   ZipSetuprA   r   mainr   r   r   <module>rN      s    	    $""H$5$5 	X 	X'It~~x/@/@ '0i!2!2 09dmmX->->  zMMO r   