We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60e0d02 commit 5b07906Copy full SHA for 5b07906
pandas/tests/extension/base/printing.py
@@ -33,7 +33,10 @@ def test_array_repr_bytes(self, data):
33
assert isinstance(result, bytes)
34
35
def test_array_repr_unicode(self, data):
36
- result = compat.u(data)
+ if compat.PY2:
37
+ result = compat.u(data)
38
+ else:
39
+ result = str(data)
40
assert isinstance(result, compat.text_type)
41
42
def test_series_repr(self, data):
0 commit comments