Skip to content

Commit 155b223

Browse files
committed
Skip line-too-long checks for logging tests
Signed-off-by: John Pennycook <[email protected]>
1 parent 85d4876 commit 155b223

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/compilers/test_compilers.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,10 @@ def test_user_overrides(self):
348348
self.assertEqual(
349349
cm.output,
350350
[
351-
"WARNING:codebasin.config:definition of g++ in .cbi/config overrides alias.",
352-
"WARNING:codebasin.config:compiler mode 'openmp' redefined",
353-
"WARNING:codebasin.config:compiler pass 'sycl-spir64' redefined",
354-
"WARNING:codebasin.config:nvcc redefined as alias of unknown.",
351+
"WARNING:codebasin.config:definition of g++ in .cbi/config overrides alias.", # noqa: E501
352+
"WARNING:codebasin.config:compiler mode 'openmp' redefined", # noqa: E501
353+
"WARNING:codebasin.config:compiler pass 'sycl-spir64' redefined", # noqa: E501
354+
"WARNING:codebasin.config:nvcc redefined as alias of unknown.", # noqa: E501
355355
],
356356
)
357357

@@ -379,7 +379,7 @@ def test_user_overrides(self):
379379
self.assertEqual(
380380
cm.output,
381381
[
382-
"ERROR:codebasin.config:Compiler 'nvcc' aliases unrecognized 'unknown'.",
382+
"ERROR:codebasin.config:Compiler 'nvcc' aliases unrecognized 'unknown'.", # noqa: E501
383383
],
384384
)
385385

@@ -414,9 +414,9 @@ def test_unrecognized(self):
414414
self.assertCountEqual(
415415
cm.output,
416416
[
417-
"WARNING:codebasin.config:Unrecognized arguments: '-unrecognized'",
418-
"ERROR:codebasin.config:Unrecognized compiler pass: unrecognized-pass",
419-
"ERROR:codebasin.config:Unrecognized compiler mode: unrecognized-mode",
417+
"WARNING:codebasin.config:Unrecognized arguments: '-unrecognized'", # noqa: E501
418+
"ERROR:codebasin.config:Unrecognized compiler pass: unrecognized-pass", # noqa: E501
419+
"ERROR:codebasin.config:Unrecognized compiler mode: unrecognized-mode", # noqa: E501
420420
],
421421
)
422422

0 commit comments

Comments
 (0)