Clean up Python test import statements

Many of our test scripts have import statements that look like
"from xxx import *". It is a good practice to explicitly name what
needs to be imported. This commit implements this practice. Also,
unused import statements are removed.

Change-Id: I6a33bb66552ae657d1725f765842f648faeb26a8
Reviewed-on: http://gerrit.cloudera.org:8080/3444
Reviewed-by: Michael Brown <mikeb@cloudera.com>
Tested-by: Internal Jenkins
This commit is contained in:
Taras Bobrovytsky
2016-06-21 19:37:11 -07:00
committed by Taras Bobrovytsky
parent 45740c8bcc
commit 609b80410e
106 changed files with 368 additions and 487 deletions

View File

@@ -1,16 +1,16 @@
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
import os
import math
import pytest
import random
import string
import struct
import subprocess
from os.path import join
from subprocess import call
from tests.common.test_vector import *
from tests.common.impala_test_suite import *
from tests.common.impala_test_suite import ImpalaTestSuite
from tests.common.skip import SkipIfS3, SkipIfIsilon, SkipIfLocal
from tests.common.test_dimensions import create_single_exec_option_dimension
from tests.common.test_vector import TestDimension
from tests.util.filesystem_utils import get_fs_path
# (file extension, table suffix) pairs