Skip to content

Commit d096fcd

Browse files
achilleas-ksupakeen
authored andcommitted
test: import build_container_fixture as _
We need to import the fixtures and use them indirectly, which makes it appear like an unused import. Instead of disabling the linter on the line, let's suppress the warning by using _ as the import name. I find this nicer.
1 parent 8bd5b39 commit d096fcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import pytest
1010

1111
import testutil
12-
from containerbuild import build_container_fixture # pylint: disable=unused-import
12+
from containerbuild import build_container_fixture as _
1313
from containerbuild import make_container
1414
from testcases import gen_testcases
1515

0 commit comments

Comments
 (0)