From cd316a319155e077ab1f27ef63eec7f6de39ef18 Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Mon, 3 Apr 2023 15:35:04 +0530 Subject: [PATCH] tests-059: fix flake8 warnings Fix "F401 'utils' imported but unused" and "E303 too many blank lines (2)" warnings. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka (cherry picked from commit fc3e59ba70fab31955b58ee3271b1d0ba45a5af9) --- tests/ftests/059-sudo-invalid_systemd_create_scope2.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/ftests/059-sudo-invalid_systemd_create_scope2.py b/tests/ftests/059-sudo-invalid_systemd_create_scope2.py index 228ff351..1b40e438 100755 --- a/tests/ftests/059-sudo-invalid_systemd_create_scope2.py +++ b/tests/ftests/059-sudo-invalid_systemd_create_scope2.py @@ -11,7 +11,6 @@ from cgroup import CgroupVersion as CgroupCliVersion from libcgroup import Cgroup, Version import ftests import consts -import utils import sys import os @@ -57,7 +56,6 @@ def test(config): result = consts.TEST_FAILED cause = 'An invalid cgroup name unexpectedly passed: {}'.format(cg1.name) - cg2 = Cgroup("Invalid/TooMany/Slashes", Version.CGROUP_V2) cg2.add_controller(CONTROLLER) try: -- 2.47.2