Skip to content

Commit

Permalink
Run Isort on tests/util single PR (#23347)
Browse files Browse the repository at this point in the history
  • Loading branch information
thoo authored and jreback committed Oct 28, 2018
1 parent a9ddafe commit 05be769
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 27 deletions.
10 changes: 5 additions & 5 deletions pandas/tests/util/test_hashing.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import pytest
import datetime

import numpy as np
import pandas as pd
import pytest

from pandas import DataFrame, Series, Index, MultiIndex
from pandas.util import hash_array, hash_pandas_object
from pandas.core.util.hashing import hash_tuples, hash_tuple, _hash_scalar
import pandas as pd
import pandas.util.testing as tm
from pandas import DataFrame, Index, MultiIndex, Series
from pandas.core.util.hashing import _hash_scalar, hash_tuple, hash_tuples
from pandas.util import hash_array, hash_pandas_object


class TestHashing(object):
Expand Down
23 changes: 12 additions & 11 deletions pandas/tests/util/test_testing.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
# -*- coding: utf-8 -*-
import textwrap
import os
import pandas as pd
import pytest
import numpy as np
import sys
from pandas import Series, DataFrame
import pandas.util.testing as tm
import textwrap

import numpy as np
import pytest

import pandas as pd
import pandas.util._test_decorators as td
from pandas.util.testing import (assert_almost_equal, raise_with_traceback,
assert_index_equal, assert_series_equal,
assert_frame_equal, assert_numpy_array_equal,
RNGContext)
from pandas import compat
import pandas.util.testing as tm
from pandas import DataFrame, Series, compat
from pandas.util.testing import (
RNGContext, assert_almost_equal, assert_frame_equal, assert_index_equal,
assert_numpy_array_equal, assert_series_equal, raise_with_traceback
)


class TestAssertAlmostEqual(object):
Expand Down
23 changes: 12 additions & 11 deletions pandas/tests/util/test_util.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
# -*- coding: utf-8 -*-
import os
import locale
import codecs
import locale
import os
import sys
from uuid import uuid4
from collections import OrderedDict
from uuid import uuid4

import pytest
from pandas.compat import intern, PY3
import pandas.core.common as com
from pandas.util._move import move_into_mutable_buffer, BadMove, stolenbuf
from pandas.util._decorators import deprecate_kwarg, make_signature
from pandas.util._validators import (validate_args, validate_kwargs,
validate_args_and_kwargs,
validate_bool_kwarg)

import pandas.util.testing as tm
import pandas.core.common as com
import pandas.util._test_decorators as td
import pandas.util.testing as tm
from pandas.compat import PY3, intern
from pandas.util._decorators import deprecate_kwarg, make_signature
from pandas.util._move import BadMove, move_into_mutable_buffer, stolenbuf
from pandas.util._validators import (
validate_args, validate_args_and_kwargs, validate_bool_kwarg,
validate_kwargs
)


class TestDecorators(object):
Expand Down

0 comments on commit 05be769

Please sign in to comment.