Skip to content

Commit 4d343ea

Browse files
committed
unicode
1 parent baee6b2 commit 4d343ea

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

pandas/tests/extension/base/printing.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ def test_array_repr_bytes(self, data):
3333
assert isinstance(result, bytes)
3434

3535
def test_array_repr_unicode(self, data):
36-
if compat.PY2:
37-
result = compat.u(data)
38-
else:
39-
result = str(data)
36+
result = compat.text_type(data)
4037
assert isinstance(result, compat.text_type)
4138

4239
def test_series_repr(self, data):

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ known_post_core=pandas.tseries,pandas.io,pandas.plotting
9090
sections=FUTURE,STDLIB,THIRDPARTY,PRE_CORE,DTYPES,FIRSTPARTY,POST_CORE,LOCALFOLDER
9191

9292
known_first_party=pandas
93-
known_third_party=Cython,numpy,python-dateutil,pytz,pyarrow
93+
known_third_party=Cython,numpy,python-dateutil,pytz,pyarrow,pytest
9494
multi_line_output=4
9595
force_grid_wrap=0
9696
combine_as_imports=True

0 commit comments

Comments
 (0)