Skip to content

Commit 31c2f27

Browse files
committed
Run Isort on tests/util single PR
1 parent ed29430 commit 31c2f27

File tree

3 files changed

+29
-27
lines changed

3 files changed

+29
-27
lines changed

Diff for: pandas/tests/util/test_hashing.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import pytest
21
import datetime
32

43
import numpy as np
5-
import pandas as pd
4+
import pytest
65

7-
from pandas import DataFrame, Series, Index, MultiIndex
8-
from pandas.util import hash_array, hash_pandas_object
9-
from pandas.core.util.hashing import hash_tuples, hash_tuple, _hash_scalar
6+
import pandas as pd
107
import pandas.util.testing as tm
8+
from pandas import DataFrame, Index, MultiIndex, Series
9+
from pandas.core.util.hashing import _hash_scalar, hash_tuple, hash_tuples
10+
from pandas.util import hash_array, hash_pandas_object
1111

1212

1313
class TestHashing(object):

Diff for: pandas/tests/util/test_testing.py

+12-11
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
# -*- coding: utf-8 -*-
2-
import textwrap
32
import os
4-
import pandas as pd
5-
import pytest
6-
import numpy as np
73
import sys
8-
from pandas import Series, DataFrame
9-
import pandas.util.testing as tm
4+
import textwrap
5+
6+
import numpy as np
7+
import pytest
8+
9+
import pandas as pd
1010
import pandas.util._test_decorators as td
11-
from pandas.util.testing import (assert_almost_equal, raise_with_traceback,
12-
assert_index_equal, assert_series_equal,
13-
assert_frame_equal, assert_numpy_array_equal,
14-
RNGContext)
15-
from pandas import compat
11+
import pandas.util.testing as tm
12+
from pandas import DataFrame, Series, compat
13+
from pandas.util.testing import (
14+
RNGContext, assert_almost_equal, assert_frame_equal, assert_index_equal,
15+
assert_numpy_array_equal, assert_series_equal, raise_with_traceback
16+
)
1617

1718

1819
class TestAssertAlmostEqual(object):

Diff for: pandas/tests/util/test_util.py

+12-11
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
# -*- coding: utf-8 -*-
2-
import os
3-
import locale
42
import codecs
3+
import locale
4+
import os
55
import sys
6-
from uuid import uuid4
76
from collections import OrderedDict
7+
from uuid import uuid4
88

99
import pytest
10-
from pandas.compat import intern, PY3
11-
import pandas.core.common as com
12-
from pandas.util._move import move_into_mutable_buffer, BadMove, stolenbuf
13-
from pandas.util._decorators import deprecate_kwarg, make_signature
14-
from pandas.util._validators import (validate_args, validate_kwargs,
15-
validate_args_and_kwargs,
16-
validate_bool_kwarg)
1710

18-
import pandas.util.testing as tm
11+
import pandas.core.common as com
1912
import pandas.util._test_decorators as td
13+
import pandas.util.testing as tm
14+
from pandas.compat import PY3, intern
15+
from pandas.util._decorators import deprecate_kwarg, make_signature
16+
from pandas.util._move import BadMove, move_into_mutable_buffer, stolenbuf
17+
from pandas.util._validators import (
18+
validate_args, validate_args_and_kwargs, validate_bool_kwarg,
19+
validate_kwargs
20+
)
2021

2122

2223
class TestDecorators(object):

0 commit comments

Comments
 (0)