[PATCH] tests/functional/arm/test_aspeed_ast1030: Remove unused import

Thomas Huth posted 1 patch 2 days, 20 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251024124016.799687-1-thuth@redhat.com
Maintainers: "Cédric Le Goater" <clg@kaod.org>, Peter Maydell <peter.maydell@linaro.org>, Steven Lee <steven_lee@aspeedtech.com>, Troy Lee <leetroy@gmail.com>, Jamin Lin <jamin_lin@aspeedtech.com>, Andrew Jeffery <andrew@codeconstruct.com.au>, Joel Stanley <joel@jms.id.au>
tests/functional/arm/test_aspeed_ast1030.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH] tests/functional/arm/test_aspeed_ast1030: Remove unused import
Posted by Thomas Huth 2 days, 20 hours ago
From: Thomas Huth <thuth@redhat.com>

This file does not use LinuxKernelTest directly (but AspeedTest),
so we can remove this unnecessary import here.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 tests/functional/arm/test_aspeed_ast1030.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/functional/arm/test_aspeed_ast1030.py b/tests/functional/arm/test_aspeed_ast1030.py
index 60e2b0251c6..d1822edd8f1 100755
--- a/tests/functional/arm/test_aspeed_ast1030.py
+++ b/tests/functional/arm/test_aspeed_ast1030.py
@@ -6,9 +6,8 @@
 #
 # SPDX-License-Identifier: GPL-2.0-or-later
 
-from qemu_test import LinuxKernelTest, Asset
 from aspeed import AspeedTest
-from qemu_test import exec_command_and_wait_for_pattern
+from qemu_test import Asset, exec_command_and_wait_for_pattern
 
 
 class AST1030Machine(AspeedTest):
-- 
2.51.0
Re: [PATCH] tests/functional/arm/test_aspeed_ast1030: Remove unused import
Posted by Cédric Le Goater 2 days, 19 hours ago
On 10/24/25 14:40, Thomas Huth wrote:
> From: Thomas Huth <thuth@redhat.com>
> 
> This file does not use LinuxKernelTest directly (but AspeedTest),
> so we can remove this unnecessary import here.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>   tests/functional/arm/test_aspeed_ast1030.py | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/tests/functional/arm/test_aspeed_ast1030.py b/tests/functional/arm/test_aspeed_ast1030.py
> index 60e2b0251c6..d1822edd8f1 100755
> --- a/tests/functional/arm/test_aspeed_ast1030.py
> +++ b/tests/functional/arm/test_aspeed_ast1030.py
> @@ -6,9 +6,8 @@
>   #
>   # SPDX-License-Identifier: GPL-2.0-or-later
>   
> -from qemu_test import LinuxKernelTest, Asset
>   from aspeed import AspeedTest
> -from qemu_test import exec_command_and_wait_for_pattern
> +from qemu_test import Asset, exec_command_and_wait_for_pattern
>   
>   
>   class AST1030Machine(AspeedTest):


Reviewed-by: Cédric Le Goater <clg@redhat.com>

Thanks,

C.