Mercurial > public > mercurial-scm > hg
diff contrib/check-py3-compat.py @ 49217:13dfad0f9f7a
branching: merge stable into default
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Wed, 25 May 2022 13:28:24 +0200 |
parents | 6000f5b25c9b 3f9125db466f |
children |
line wrap: on
line diff
--- a/contrib/check-py3-compat.py Tue May 24 19:09:24 2022 +0400 +++ b/contrib/check-py3-compat.py Wed May 25 13:28:24 2022 +0200 @@ -76,7 +76,7 @@ # specified. When running as test-check-py3-compat.t, we technically # would import the correct paths, but it's cleaner to have both cases # use the same import logic. - sys.path.insert(0, '.') + sys.path.insert(0, os.getcwd()) for f in sys.argv[1:]: with warnings.catch_warnings(record=True) as warns: