diff -r 3f7bbce8fbaa -r bf73012877a4 tests/hghave.py --- a/tests/hghave.py Tue Mar 13 18:05:49 2018 -0400 +++ b/tests/hghave.py Tue Mar 13 18:13:37 2018 -0400 @@ -372,7 +372,7 @@ def has_hardlink_whitelisted(): from mercurial import util try: - fstype = util.getfstype('.') + fstype = util.getfstype(b'.') except OSError: return False return fstype in util._hardlinkfswhitelist