Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[batch] eliminate unused imports in hailtop.batch tests #14315

Merged
merged 3 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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