changeset 43455 | 6792da448437 |
parent 43412 | ca0cd0a13514 |
child 43470 | 32ac4d0b4102 |
--- a/tests/hghave.py Tue Nov 05 15:00:44 2019 -0800 +++ b/tests/hghave.py Tue Nov 05 18:32:00 2019 -0500 @@ -431,7 +431,8 @@ @check("symlink", "symbolic links") def has_symlink(): - if getattr(os, "symlink", None) is None: + # mercurial.windows.checklink() is a hard 'no' at the moment + if os.name == 'nt' or getattr(os, "symlink", None) is None: return False name = tempfile.mktemp(dir='.', prefix=tempprefix) try: