changeset 14971 | 0b21ae0a2366 |
parent 13975 | 938fbeacac84 |
child 16321 | e1615a24b73a |
--- a/tests/test-walkrepo.py Mon Jul 25 16:05:01 2011 -0500 +++ b/tests/test-walkrepo.py Mon Jul 25 16:37:18 2011 -0500 @@ -5,7 +5,7 @@ from os.path import join as pjoin u = ui.ui() -sym = hasattr(os, 'symlink') and hasattr(os.path, 'samestat') +sym = getattr(os, 'symlink', False) and getattr(os.path, 'samestat', False) hg.repository(u, 'top1', create=1) mkdir('subdir')