diff --git a/tests/hghave.py b/tests/hghave.py --- a/tests/hghave.py +++ b/tests/hghave.py @@ -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