diff --git a/tests/R_mimetype_check.py b/tests/R_mimetype_check.py index cc09d134..4cfe7267 100644 --- a/tests/R_mimetype_check.py +++ b/tests/R_mimetype_check.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - import logging from tests.conftest import TrackedContainer diff --git a/tests/all-spark-notebook/test_spark_notebooks.py b/tests/all-spark-notebook/test_spark_notebooks.py index 37aa2edb..b49b1cb2 100644 --- a/tests/all-spark-notebook/test_spark_notebooks.py +++ b/tests/all-spark-notebook/test_spark_notebooks.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - import logging from pathlib import Path diff --git a/tests/base-notebook/test_healthcheck.py b/tests/base-notebook/test_healthcheck.py index ac61e974..3c779803 100644 --- a/tests/base-notebook/test_healthcheck.py +++ b/tests/base-notebook/test_healthcheck.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - import logging import time from typing import Optional diff --git a/tests/base-notebook/test_notebook.py b/tests/base-notebook/test_notebook.py index c8288997..29c2bec7 100644 --- a/tests/base-notebook/test_notebook.py +++ b/tests/base-notebook/test_notebook.py @@ -1,7 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - - import requests from tests.conftest import TrackedContainer, find_free_port diff --git a/tests/base-notebook/test_npm_package_manager.py b/tests/base-notebook/test_npm_package_manager.py index 8bcba8c3..14f50957 100644 --- a/tests/base-notebook/test_npm_package_manager.py +++ b/tests/base-notebook/test_npm_package_manager.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - from tests.conftest import TrackedContainer from tests.run_command import run_command diff --git a/tests/base-notebook/test_pandoc.py b/tests/base-notebook/test_pandoc.py index fa4fac9c..f5cce325 100644 --- a/tests/base-notebook/test_pandoc.py +++ b/tests/base-notebook/test_pandoc.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - import logging from tests.conftest import TrackedContainer diff --git a/tests/base-notebook/test_start_container.py b/tests/base-notebook/test_start_container.py index b3d69610..14418288 100644 --- a/tests/base-notebook/test_start_container.py +++ b/tests/base-notebook/test_start_container.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - import logging import time from typing import Optional diff --git a/tests/datascience-notebook/test_mimetypes.py b/tests/datascience-notebook/test_mimetypes.py index a2ac55cf..4fd86473 100644 --- a/tests/datascience-notebook/test_mimetypes.py +++ b/tests/datascience-notebook/test_mimetypes.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - from tests.conftest import TrackedContainer from tests.R_mimetype_check import check_r_mimetypes diff --git a/tests/docker-stacks-foundation/test_outdated.py b/tests/docker-stacks-foundation/test_outdated.py index 72f6b3d0..6de18d3d 100644 --- a/tests/docker-stacks-foundation/test_outdated.py +++ b/tests/docker-stacks-foundation/test_outdated.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - import logging import pytest # type: ignore diff --git a/tests/docker-stacks-foundation/test_units.py b/tests/docker-stacks-foundation/test_units.py index e709fc0c..85d07862 100644 --- a/tests/docker-stacks-foundation/test_units.py +++ b/tests/docker-stacks-foundation/test_units.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - import logging from tests.conftest import TrackedContainer diff --git a/tests/minimal-notebook/test_nbconvert.py b/tests/minimal-notebook/test_nbconvert.py index dabeba4d..33954cb0 100644 --- a/tests/minimal-notebook/test_nbconvert.py +++ b/tests/minimal-notebook/test_nbconvert.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - import logging from pathlib import Path diff --git a/tests/pyspark-notebook/units/unit_pandas_version.py b/tests/pyspark-notebook/units/unit_pandas_version.py index 5f650a3b..1728effa 100644 --- a/tests/pyspark-notebook/units/unit_pandas_version.py +++ b/tests/pyspark-notebook/units/unit_pandas_version.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - import pandas assert pandas.__version__ == "1.5.3" diff --git a/tests/pyspark-notebook/units/unit_spark.py b/tests/pyspark-notebook/units/unit_spark.py index 80b47d43..b6413fa4 100644 --- a/tests/pyspark-notebook/units/unit_spark.py +++ b/tests/pyspark-notebook/units/unit_spark.py @@ -1,4 +1,3 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - import pyspark # noqa: F401 diff --git a/tests/r-notebook/test_R_mimetypes.py b/tests/r-notebook/test_R_mimetypes.py index a2ac55cf..4fd86473 100644 --- a/tests/r-notebook/test_R_mimetypes.py +++ b/tests/r-notebook/test_R_mimetypes.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - from tests.conftest import TrackedContainer from tests.R_mimetype_check import check_r_mimetypes diff --git a/tests/scipy-notebook/test_cython.py b/tests/scipy-notebook/test_cython.py index bf1c0ab5..839d83a1 100644 --- a/tests/scipy-notebook/test_cython.py +++ b/tests/scipy-notebook/test_cython.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - from pathlib import Path from tests.conftest import TrackedContainer diff --git a/tests/scipy-notebook/test_matplotlib.py b/tests/scipy-notebook/test_matplotlib.py index b8807f8f..27c6d3c3 100644 --- a/tests/scipy-notebook/test_matplotlib.py +++ b/tests/scipy-notebook/test_matplotlib.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - import logging from pathlib import Path diff --git a/tests/scipy-notebook/units/unit_pandas.py b/tests/scipy-notebook/units/unit_pandas.py index fc998225..2190a0b5 100644 --- a/tests/scipy-notebook/units/unit_pandas.py +++ b/tests/scipy-notebook/units/unit_pandas.py @@ -1,6 +1,5 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. - import numpy as np import pandas as pd