Skip to content

Commit c4e548c

Browse files
committed
PEP8 fixes
1 parent 255bfab commit c4e548c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pandas/tests/io/test_parquet.py

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
import numpy as np
99
import pandas as pd
10-
from pandas.compat import PY3
11-
from distutils.version import LooseVersion
1210
from pandas.compat import PY3, is_platform_windows
1311
from pandas.io.parquet import (to_parquet, read_parquet, get_engine,
1412
PyArrowImpl, FastParquetImpl)

pandas/tests/test_categorical.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ def test_set_dtype_nans(self):
963963
tm.assert_numpy_array_equal(result.codes, np.array([0, -1, -1],
964964
dtype='int8'))
965965

966-
def test_set_categories(self):
966+
def test_set_categories_private(self):
967967
cat = Categorical(['a', 'b', 'c'], categories=['a', 'b', 'c', 'd'])
968968
result = cat._set_categories(['a', 'b', 'c', 'd', 'e'])
969969
expected = Categorical(['a', 'b', 'c'], categories=list('abcde'))

0 commit comments

Comments
 (0)