Patchwork [STABLE] test: add `test-repo` requirement to `test-check-format` (issue6395)

login
register
mail settings
Submitter Pierre-Yves David
Date Aug. 27, 2020, 7:59 a.m.
Message ID <706929a230bfe6b29a22.1598515142@nodosa.octobus.net>
Download mbox | patch
Permalink /patch/47065/
State Accepted
Headers show

Comments

Pierre-Yves David - Aug. 27, 2020, 7:59 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1598511995 -7200
#      Thu Aug 27 09:06:35 2020 +0200
# Branch stable
# Node ID 706929a230bfe6b29a224f931120f6840c47ba50
# Parent  49f8ba4febec5100ee84b49afef63e19879fa75d
# EXP-Topic issue6395
# Available At https://foss.heptapod.net/octobus/mercurial-devel/
#              hg pull https://foss.heptapod.net/octobus/mercurial-devel/ -r 706929a230bf
test: add `test-repo` requirement to `test-check-format` (issue6395)

Kindly reported by Tristan Seligmann <mithrandi@mithrandi.net>
Yuya Nishihara - Aug. 27, 2020, 1:37 p.m.
On Thu, 27 Aug 2020 09:59:02 +0200, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@octobus.net>
> # Date 1598511995 -7200
> #      Thu Aug 27 09:06:35 2020 +0200
> # Branch stable
> # Node ID 706929a230bfe6b29a224f931120f6840c47ba50
> # Parent  49f8ba4febec5100ee84b49afef63e19879fa75d
> # EXP-Topic issue6395
> # Available At https://foss.heptapod.net/octobus/mercurial-devel/
> #              hg pull https://foss.heptapod.net/octobus/mercurial-devel/ -r 706929a230bf
> test: add `test-repo` requirement to `test-check-format` (issue6395)

Queued for stable, thanks.

Patch

diff --git a/tests/test-check-format.t b/tests/test-check-format.t
--- a/tests/test-check-format.t
+++ b/tests/test-check-format.t
@@ -1,4 +1,4 @@ 
-#require black
+#require black test-repo
 
   $ cd $RUNTESTDIR/..
   $ black --config=black.toml --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'`