Skip to content

Commit 43c00c3

Browse files
committed
Add comment on created directory structure
1 parent 7976603 commit 43c00c3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Lib/test/test_pathlib.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,6 +1507,21 @@ def test_iterdir_recursive_symlink_cycle(self):
15071507
open(join('dirF', 'dirH', 'fileH'), 'w').close()
15081508
os.symlink(os.path.join('..', 'dirG'), join('dirF', 'dirH', 'linkG'))
15091509
os.symlink(os.path.join('..', 'dirH'), join('dirF', 'dirG', 'linkH'))
1510+
# Now have structure
1511+
# (BASE)
1512+
# |
1513+
# ...
1514+
# |
1515+
# |-- dirF
1516+
# | |-- dirG
1517+
# | | |-- fileG
1518+
# | | `-- linkH -> ../dirH
1519+
# | |-- dirH
1520+
# | | |-- fileH
1521+
# | | `-- linkG -> ../dirG
1522+
# | `-- fileF
1523+
# |
1524+
# ...
15101525
try:
15111526
P = self.cls
15121527
p = P(join('dirF'))

0 commit comments

Comments
 (0)