Skip to content

Commit

Permalink
[batch] eliminate unused imports in hailtop.batch tests
Browse files Browse the repository at this point in the history
Stacked on hail-is#14314.
  • Loading branch information
Dan King committed Feb 22, 2024
1 parent ecde0ad commit afd003d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 28 deletions.
16 changes: 2 additions & 14 deletions hail/python/test/hailtop/batch/test_batch_service_backend.py
Original file line number Diff line number Diff line change
@@ -1,36 +1,24 @@
from typing import AsyncIterator, List, Tuple
import asyncio
import inspect
from typing import Tuple
import secrets

import pytest
import os
from shlex import quote as shq
import uuid
import re
import orjson

import hailtop.fs as hfs
import hailtop.batch_client.client as bc
from hailtop import pip_version
from hailtop.batch import Batch, ServiceBackend, ResourceGroup
from hailtop.batch.exceptions import BatchException
from hailtop.batch.globals import arg_max
from hailtop.utils import grouped, async_to_blocking, secret_alnum_string
from hailtop.config import get_remote_tmpdir, configuration_of
from hailtop.utils import grouped
from hailtop.aiotools.router_fs import RouterAsyncFS
from hailtop.test_utils import skip_in_azure
from hailtop.httpx import ClientResponseError

from configparser import ConfigParser
from hailtop.config import get_user_config, user_config
from hailtop.config.variables import ConfigVariable


from .utils import (
batch,
PYTHON_DILL_IMAGE,
HAIL_GENETICS_HAIL_IMAGE,
REQUESTER_PAYS_PROJECT,
)

Expand Down
15 changes: 1 addition & 14 deletions hail/python/test/hailtop/batch/test_python_job_in_service.py
Original file line number Diff line number Diff line change
@@ -1,29 +1,16 @@
from typing import AsyncIterator, List, Tuple
import asyncio
import inspect
import secrets

import pytest
import os
from shlex import quote as shq
import uuid
import re
import orjson

import hailtop.fs as hfs
import hailtop.batch_client.client as bc
from hailtop import pip_version
from hailtop.batch import Batch, ServiceBackend, ResourceGroup
from hailtop.batch.exceptions import BatchException
from hailtop.batch.globals import arg_max
from hailtop.utils import grouped, async_to_blocking, secret_alnum_string
from hailtop.config import get_remote_tmpdir, configuration_of
from hailtop.config import configuration_of
from hailtop.aiotools.router_fs import RouterAsyncFS
from hailtop.test_utils import skip_in_azure
from hailtop.httpx import ClientResponseError

from configparser import ConfigParser
from hailtop.config import get_user_config, user_config
from hailtop.config.variables import ConfigVariable


Expand Down

0 comments on commit afd003d

Please sign in to comment.