Mercurial > public > mercurial-scm > hg
comparison tests/run-tests.py @ 43346:6ada8a274b9c stable
formatting: run black version 19.10b0 on the codebase
The latest version of black is out and contains the change we needed. So we can
start using it now.
note: `test-check-format.t` will complains about this changes because it still
use `grey` and need to be migrated to `black`. See next changesets for this.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 29 Oct 2019 10:41:30 +0100 |
parents | b4b1131187c4 |
children | d9e7ac50b80a |
comparison
equal
deleted
inserted
replaced
43345:dc3fe251de72 | 43346:6ada8a274b9c |
---|---|
3114 vlog("# Using TESTDIR", _strpath(self._testdir)) | 3114 vlog("# Using TESTDIR", _strpath(self._testdir)) |
3115 vlog("# Using RUNTESTDIR", _strpath(osenvironb[b'RUNTESTDIR'])) | 3115 vlog("# Using RUNTESTDIR", _strpath(osenvironb[b'RUNTESTDIR'])) |
3116 vlog("# Using HGTMP", _strpath(self._hgtmp)) | 3116 vlog("# Using HGTMP", _strpath(self._hgtmp)) |
3117 vlog("# Using PATH", os.environ["PATH"]) | 3117 vlog("# Using PATH", os.environ["PATH"]) |
3118 vlog( | 3118 vlog( |
3119 "# Using", | 3119 "# Using", _strpath(IMPL_PATH), _strpath(osenvironb[IMPL_PATH]), |
3120 _strpath(IMPL_PATH), | |
3121 _strpath(osenvironb[IMPL_PATH]), | |
3122 ) | 3120 ) |
3123 vlog("# Writing to directory", _strpath(self._outputdir)) | 3121 vlog("# Writing to directory", _strpath(self._outputdir)) |
3124 | 3122 |
3125 try: | 3123 try: |
3126 return self._runtests(testdescs) or 0 | 3124 return self._runtests(testdescs) or 0 |