$ hg pull
/usr/lib/python3.9/importlib/util.py:245: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
self.__spec__.loader.exec_module(self)
and the has_remote function checking:
if output.strip() == "":
It was making my tests fail locally. By moving stderr to subprocess.PIPE, stderr is still on the error object, so it's still possible to debug.
This is due to hg currently having a warning:
and the has_remote function checking:
It was making my tests fail locally. By moving stderr to
subprocess.PIPE
, stderr is still on the error object, so it's still possible to debug.