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

Run Isort on tests/util single PR #23347

Merged
merged 3 commits into from
Oct 28, 2018
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
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