diff mbox series

support/testing/tests/package/test_python_unittest_xml_reporting.py: fix flake8 warnings

Message ID 20211108192706.456116-1-texier.pj2@gmail.com
State Accepted
Headers show
Series support/testing/tests/package/test_python_unittest_xml_reporting.py: fix flake8 warnings | expand

Commit Message

Pierre-Jean Texier Nov. 8, 2021, 7:27 p.m. UTC
Fixes:

support/testing/tests/package/test_python_unittest_xml_reporting.py:3:1: F401 'time' imported but unused
1     F401 'time' imported but unused
make: *** [Makefile:1220: check-flake8] Error 123

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
---
 .../testing/tests/package/test_python_unittest_xml_reporting.py  | 1 -
 1 file changed, 1 deletion(-)

Comments

Arnout Vandecappelle Nov. 8, 2021, 9:15 p.m. UTC | #1
On 08/11/2021 20:27, Pierre-Jean Texier wrote:
> Fixes:
> 
> support/testing/tests/package/test_python_unittest_xml_reporting.py:3:1: F401 'time' imported but unused
> 1     F401 'time' imported but unused
> make: *** [Makefile:1220: check-flake8] Error 123
> 
> Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>

  Both applied to master (and next), thanks.

  Regards,
  Arnout

> ---
>   .../testing/tests/package/test_python_unittest_xml_reporting.py  | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/support/testing/tests/package/test_python_unittest_xml_reporting.py b/support/testing/tests/package/test_python_unittest_xml_reporting.py
> index f08c88e3da..446c231a00 100644
> --- a/support/testing/tests/package/test_python_unittest_xml_reporting.py
> +++ b/support/testing/tests/package/test_python_unittest_xml_reporting.py
> @@ -1,6 +1,5 @@
>   from tests.package.test_python import TestPythonPackageBase
>   import os
> -import time
>   
>   
>   class TestPythonPy3UnitTestXmlReporting(TestPythonPackageBase):
>
diff mbox series

Patch

diff --git a/support/testing/tests/package/test_python_unittest_xml_reporting.py b/support/testing/tests/package/test_python_unittest_xml_reporting.py
index f08c88e3da..446c231a00 100644
--- a/support/testing/tests/package/test_python_unittest_xml_reporting.py
+++ b/support/testing/tests/package/test_python_unittest_xml_reporting.py
@@ -1,6 +1,5 @@ 
 from tests.package.test_python import TestPythonPackageBase
 import os
-import time
 
 
 class TestPythonPy3UnitTestXmlReporting(TestPythonPackageBase):