This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients pitrou, serhiy.storchaka, vajrasky
Date 2013-12-07.08:04:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386403455.85.0.616932474845.issue19887@psf.upfronthosting.co.za>
In-reply-to
Content
How the test can be simpler? It is already simple.

You ca use pathlib_resolve_test.py but replace `os.symlink('.', 'testdir/0')` by `os.symlink(os.path.abspath('testdir'), 'testdir/0')`. Or use following shell commands:

mkdir testdir
for i in $(seq 100); do ln -s $((i-1))/$((i-1)) testdir/$i; done
ln -s "$(pwd)/testdir" testdir/0

./python -c "import pathlib; print(pathlib.Path('testdir/100').resolve())"
History
Date User Action Args
2013-12-07 08:04:15serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, vajrasky
2013-12-07 08:04:15serhiy.storchakasetmessageid: <1386403455.85.0.616932474845.issue19887@psf.upfronthosting.co.za>
2013-12-07 08:04:15serhiy.storchakalinkissue19887 messages
2013-12-07 08:04:15serhiy.storchakacreate