Message205442
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())" |
|
Date |
User |
Action |
Args |
2013-12-07 08:04:15 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, vajrasky |
2013-12-07 08:04:15 | serhiy.storchaka | set | messageid: <1386403455.85.0.616932474845.issue19887@psf.upfronthosting.co.za> |
2013-12-07 08:04:15 | serhiy.storchaka | link | issue19887 messages |
2013-12-07 08:04:15 | serhiy.storchaka | create | |
|