+
    Bi1                     <   ^ RI t ^ RIt^RIHt ^RIHt  ! R R4      t ! R R]]P                  4      t]'       gF   ^ RI	H
t
Ht  ! R	 R
]]P                  4      t] P                  R8X  d    ! R R]]P                  4      t]R8X  d   ]P                   ! 4        R# R# )    N)is_pypi)LexicalWindowsPathc                   t   a  ] tR t^t o R tR tR tR tR tR t	R t
R tR	 tR
 tR tR tR tR tRtV tR# )JoinTestBasec                   V P                   pV! R 4      pVP                  R4      pV P                  W1! R4      4       VP                  R4      pV P                  W1! R4      4       VP                  R4      pV P                  W1! R4      4       VP                  R4      pV P                  W1! R4      4       VP                  R4      pV P                  W1! R4      4       VP                  R4      pV P                  W1! R	4      4       VP                  R
4      pV P                  W1! R
4      4       VP                  R4      pV P                  W1! R4      4       VP                  R4      pV P                  W1! R4      4       VP                  R4      pV P                  W1! R4      4       V! R4      P                  R4      pV P                  W1! R4      4       V! R4      P                  R4      pV P                  W1! R4      4       R# )C:/a/bx/y
C:/a/b\x/y/x/yC:/x/yD:x/yD:/x/y//host/share/x/yc:x/y
c:/a/b\x/yc:/x/y./d:sC:/a/b\./d:s./dd:sC:/a/b\./dd:sE:d:sz//serversharez//server\sharez//./BootPartitionWindowsz//./BootPartition\WindowsN)clsjoinpathassertEqual)selfPppps   &   :/usr/lib/python3.14/test/test_pathlib/test_join_windows.py	test_joinJoinTestBase.test_join   s   HHhKZZQ}-.ZZQx[) ZZ QwZ(ZZ!Qx[)ZZ*+Q123 ZZ Q}-.ZZ!Qx[) ZZ Q/0ZZ!Q/01ZZ QwZ(z]##G,Q012"#,,Y7Q;<=    c                   V P                   pV! R 4      pV P                  VR,          V! R4      4       V P                  VR,          R,          V! R4      4       V P                  VR,          V! R4      4       V P                  VR,          R,          V! R	4      4       V P                  VR
,          V! R
4      4       V P                  VR,          R,          V! R
4      4       V P                  VR,          V! R4      4       V P                  VR,          R,          V! R4      4       V P                  VR,          V! R4      4       V P                  VR,          V! R4      4       V P                  VR,          V! R4      4       V P                  VR,          V! R4      4       V P                  VR,          V! R4      4       V P                  VR,          V! R4      4       R# )r   r	   r
   xyz
C:/a/b\x\yr   r   z/xzC:/x\yr   zD:r   r   r   r   r   r   r   r   r   r   N)r   r   r   r   r   s   &  r!   test_divJoinTestBase.test_div0   s   HHhKUAm$45S3-(89VQx[1TC96 	Waj1TE)1W:6Xq{3TF*AhK8//3E1FG 	Wa&67Xq{3 	Wa&89Xq)9':;Waj1r$   c                   V P                  R 4      pV P                  \        V4      R 4       V P                  R4      pV P                  \        V4      R4       V P                  R4      pV P                  \        V4      R4       V P                  R4      pV P                  \        V4      R4       V P                  R4      pV P                  \        V4      R4       R# )za\b\czc:\a\b\c\\a\b\z\\a\b\c	\\a\b\c\dN)r   r   str)r   r   s   & r!   test_strJoinTestBase.test_strI   s    HHXQ+HH[!Q/HH\"Q.HHZ Q/HH\"Q!12r$   c                   V P                   pV! R 4      pVP                  pV P                  VR4       V! R4      pVP                  pV P                  VR4       V! R4      pVP                  pV P                  VR4       R# )c:a\bc:\a\br-   N)c:ab)c:\r5   r6   )r,   cd)r   partsr   )r   r   r   r:   s   &   r!   
test_partsJoinTestBase.test_partsU   st    HHhK 01iL 23lO 89r$   c                f   V P                   pV! R 4      pV P                  VP                  V! R4      4       V P                  VP                  P                  V! R4      4       V P                  VP                  P                  P                  V! R4      4       V P                  VP                  P                  P                  P                  V! R4      4       V! R4      pV P                  VP                  V! R4      4       V P                  VP                  P                  V! R4      4       V P                  VP                  P                  P                  V! R4      4       V P                  VP                  P                  P                  P                  V! R4      4       V! R4      pV P                  VP                  V! R	4      4       V P                  VP                  P                  V! R
4      4       V P                  VP                  P                  P                  V! R
4      4       R# )zz:a/b/cz:a/bz:az:zz:/a/b/cz:/a/bz:/az:/	//a/b/c/d//a/b/c//a/b/N)r   r   parentr(   s   &  r!   test_parentJoinTestBase.test_parenta   sx   HHiL1W:.!E(3//49//66$@jM1X;/!F)4//5://66%AkN1Y<0!H+6//8=r$   c                
   V P                   pV! R 4      pVP                  pV P                  \        V4      ^4       V P                  V^ ,          V! R4      4       V P                  V^,          V! R4      4       V P                  VR,          V! R4      34       V P                  VRR V! R4      34       V P                  VR,          V! R4      V! R4      34       V P                  VR,          V! R4      34       V P                  VR,          V! R4      34       V P                  VRRR1,          V! R4      V! R4      34       V P                  \	        V4      V! R4      V! R4      .4       V P                  \        4      ;_uu_ 4        V^,           RRR4       V! R4      pVP                  pV P                  \        V4      ^4       V P                  V^ ,          V! R	4      4       V P                  V^,          V! R
4      4       V P                  VR,          V! R	4      34       V P                  V^ R V! R	4      34       V P                  VR,          V! R	4      V! R
4      34       V P                  VR,          V! R
4      34       V P                  VR,          V! R	4      34       V P                  VRRR1,          V! R
4      V! R	4      34       V P                  \	        V4      V! R	4      V! R
4      .4       V P                  \        4      ;_uu_ 4        V^,           RRR4       V! R4      pVP                  pV P                  \        V4      ^4       V P                  V^ ,          V! R4      4       V P                  V^,          V! R4      4       V P                  VR,          V! R4      34       V P                  V^ R V! R4      34       V P                  VR,          V! R4      V! R4      34       V P                  VR,          V! R4      34       V P                  VR,          V! R4      34       V P                  VRRR1,          V! R4      V! R4      34       V P                  \	        V4      V! R4      V! R4      .4       V P                  \        4      ;_uu_ 4        V^,           RRR4       R#   + '       g   i     EL7; i  + '       g   i     EL; i  + '       g   i     R# ; i)r>   r?   r@   :r      NN:N   N:rK   NN:NNrL   rA   rB   rC   rD   rE   rF   )r   parentsr   lenlistassertRaises
IndexError)r   r   r   pars   &   r!   test_parentsJoinTestBase.test_parentss   s   HHgJiiS1%Q5*Q4)SAeH;/SbAeH;/R1U8QtW"56R1T7*-SAeH;/TrTQtWah$78cQuXqw$78z**F +hKiiS1%Q6+Q5*SAfI<0QrQvYL1R1V9ah"78R1U8+.SAfI<0TrTQuXqy$:;cQvY%$9:z**F +kNiiS1%Q9.Q8-SAiL?3QrQy\O4R1Y<8"=>R1X;.1SAiL?3TrTQx[!I,$?@cQy\1X;$?@z**F +*9 +** +** +**s$   
S
S1
S-S	S*	-S>	c                   V P                   pV P                  V! R 4      P                  R 4       V P                  V! R4      P                  R 4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       R# )r4   c:a/br7   zc:\a\b\r,   r-   N)r   r   anchorr   r   s   & r!   test_anchorJoinTestBase.test_anchor   s    HH4.7**D16))62<//8<//>+,33\Br$   c                >   V P                   pV P                  V! R 4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R	4      P                  R4       V P                  V! R
4      P                  R4       R# )r4    c:/rW   r6   c:/a/bc:a/b.pyzb.py	c:/a/b.py//My.py/Share.php//My.py/Share.php/a/bN)r   r   namerY   s   & r!   	test_nameJoinTestBase.test_name   s    HH4r*5+7#.8))3/:++V4;,,f5./44b92388#>r$   c                   V P                   pV P                  V! R 4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R	4       V P                  V! R
4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       R# )r4   r]   zc:..z..r^   rW   r6   r`   	c:a/.hgrcz.hgrc
c:a/.hg.rcz.hgc:a/b.tar.gzzb.tarc:a/trailing.dot.ztrailing.dotN)r   r   stemrY   s   & r!   	test_stemJoinTestBase.test_stem   s    HH4r*6.5+7#.:++S1;,,g6<--u5>*//9./44nEr$   c                ^   V P                   pV P                  V! R 4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R	4      P                  R4       V P                  V! R
4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       V P                  V! R4      P                  R4       R# )r4   r]   r^   rW   r_   r`   .pyra   rh   
c:/a/.hgrcri   .rcc:/a/.hg.rcrj   .gzc:/a/b.tar.gzrk   .c:/a/trailing.dot.rb   rc   N)r   r   suffixrY   s   & r!   test_suffixJoinTestBase.test_suffix   s   HH4,5"-7**B/8++R0:--u5;..6;..3<//4<//7=)00%8>*1159?+22E:./66</077=./66;23::B?r$   c                v   V P                   pV P                  V! R 4      P                  . 4       V P                  V! R4      P                  . 4       V P                  V! R4      P                  . 4       V P                  V! R4      P                  . 4       V P                  V! R4      P                  R.4       V P                  V! R4      P                  R.4       V P                  V! R4      P                  . 4       V P                  V! R4      P                  . 4       V P                  V! R	4      P                  R
.4       V P                  V! R4      P                  R
.4       V P                  V! R4      P                  RR.4       V P                  V! R4      P                  RR.4       V P                  V! R4      P                  . 4       V P                  V! R4      P                  . 4       V P                  V! R4      P                  RR.4       V P                  V! R4      P                  RR.4       R# )r4   r^   rW   r_   r`   rp   ra   rh   rq   ri   rr   rs   rj   z.tarrt   ru   rb   rc   rk   z.dotrv   rw   N)r   r   suffixesrY   s   & r!   test_suffixesJoinTestBase.test_suffixes   s   HH4))2.5**B/7,,b18--r2://%9;005':;00"5<1126<11E7;=)22UG<>*33fe_E?+44vuoF./88"=23<<bA./8863-H/099FC=Ir$   c                "   V P                   pV P                  V! R 4      P                  R4      V! R4      4       V P                  V! R4      P                  R4      V! R4      4       V P                  V! R4      P                  R4      V! R4      4       V P                  V! R4      P                  R4      V! R4      4       V P                  \        V! R 4      P                  R4       V P                  \        V! R 4      P                  R4       R	# )
r2   zd.xmlz	c:a\d.xmlr3   z
c:\a\d.xmlzc:a\Dot ending.zc:\a\Dot ending.zd:\ez
\\My\ShareN)r   r   	with_namerQ   
ValueErrorrY   s   & r!   test_with_nameJoinTestBase.test_with_name   s    HH8..w7<I9//8!M:JK-.88A1\?S./99'BAmDTU*ak&;&;WE*ak&;&;]Kr$   c                "   V P                   pV P                  V! R 4      P                  R4      V! R4      4       V P                  V! R4      P                  R4      V! R4      4       V P                  V! R4      P                  R4      V! R4      4       V P                  V! R4      P                  R4      V! R4      4       V P                  \        V! R 4      P                  R	4       V P                  \        V! R 4      P                  R
4       R# )rW   r9   zc:a/dr_   zc:/a/dzc:a/Dot ending.zc:a/d.zc:/a/Dot ending.zc:/a/d.zd:/e
//My/ShareN)r   r   	with_stemrQ   r   rY   s   & r!   test_with_stemJoinTestBase.test_with_stem   s    HH7--c2AgJ?8..s3Qx[A,-77<akJ-.88=q|L*aj&:&:FC*aj&:&:LIr$   c                   V P                   pV P                  V! R 4      P                  R4      V! R4      4       V P                  V! R4      P                  R4      V! R4      4       V P                  V! R4      P                  R4      V! R4      4       V P                  V! R4      P                  R4      V! R4      4       V P                  \        V! R4      P                  R4       V P                  \        V! R4      P                  R4       V P                  \        V! R	4      P                  R4       V P                  \        V! R 4      P                  R
4       V P                  \        V! R 4      P                  R4       V P                  \        V! R 4      P                  R4       V P                  \        V! R 4      P                  R4       V P                  \        V! R 4      P                  R4       V P                  \        V! R 4      P                  R4       V P                  \        V! R 4      P                  R4       V P                  \        V! R 4      P                  R4       V P                  \        V! R 4      P                  R4       V P                  \        V! R 4      P                  R4       V P                  \        V! R 4      P                  R4       V P                  \
        V! R 4      P                  R4       R# )rW   rt   zc:a/b.gzr_   z	c:/a/b.gzr`   ra   r]   /r   gz\r4   z/.gzz\.gzzc:.gzzc/dzc\dz.c/dz.c\dN)r   r   with_suffixrQ   r   	TypeErrorrY   s   & r!   test_with_suffixJoinTestBase.test_with_suffix   s;   HH7//6*F8007;H:22591Z=I;33E:AkNK*ae&7&7?*af&8&8%@*ao&A&A5I*aj&<&<dC*aj&<&<cB*aj&<&<dC*aj&<&<dC*aj&<&<fE*aj&<&<gF*aj&<&<gF*aj&<&<eD*aj&<&<fE*aj&<&<fE*aj&<&<gF)QwZ%;%;TBr$    N)__name__
__module____qualname____firstlineno__r"   r)   r/   r;   rH   rT   rZ   re   rm   ry   r}   r   r   r   __static_attributes____classdictcell__)__classdict__s   @r!   r   r      sZ     !>F22
3
:>$,\C	?
F@&J&LJC Cr$   r   c                       ] tR tRt]tRtR# )LexicalWindowsPathJoinTesti  r   N)r   r   r   r   r   r   r   r   r$   r!   r   r     s    
Cr$   r   )PureWindowsPathWindowsPathc                       ] tR tRt]tRtR# )PureWindowsPathJoinTesti  r   N)r   r   r   r   r   r   r   r   r$   r!   r   r     s    r$   r   ntc                       ] tR tRt]tRtR# )WindowsPathJoinTesti  r   N)r   r   r   r   r   r   r   r   r$   r!   r   r     s    Cr$   r   __main__)osunittestsupportr   support.lexical_pathr   r   TestCaser   pathlibr   r   r   rd   r   r   mainr   r$   r!   <module>r      s   
 
   4CC CCLx/@/@  4,0A0A  
ww$	,0A0A 	 zMMO r$   