##// END OF EJS Templates
tests: unconditionalize _bytes2sys()...
Gregory Szorc -
r49718:c76255cd default
parent child Browse files
Show More
@@ -3790,9 +3790,7 b' class TestRunner(object):'
3790 return self._hgpath
3790 return self._hgpath
3791
3791
3792 cmd = b'"%s" -c "import mercurial; print (mercurial.__path__[0])"'
3792 cmd = b'"%s" -c "import mercurial; print (mercurial.__path__[0])"'
3793 cmd = cmd % PYTHON
3793 cmd = _bytes2sys(cmd % PYTHON)
3794 if PYTHON3:
3795 cmd = _bytes2sys(cmd)
3796
3794
3797 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True)
3795 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True)
3798 out, err = p.communicate()
3796 out, err = p.communicate()
General Comments 0
You need to be logged in to leave comments. Login now