Skip to content

Commit e11c90d

Browse files
committed
Update test case to use unicode index names.
1 parent 40c8f1a commit e11c90d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/io/test_pytables.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2924,10 +2924,10 @@ def test_store_index_name_numpy_str(self):
29242924
# GH #13492
29252925
idx = pd.Index(pd.to_datetime([datetime.date(2000, 1, 1),
29262926
datetime.date(2000, 1, 2)]),
2927-
name='cols')
2927+
name=u('cols\u05d2'))
29282928
idx1 = pd.Index(pd.to_datetime([datetime.date(2010, 1, 1),
29292929
datetime.date(2010, 1, 2)]),
2930-
name='rows')
2930+
name=u('rows\u05d0'))
29312931
df = pd.DataFrame(np.arange(4).reshape(2, 2), columns=idx, index=idx1)
29322932

29332933
# This used to fail, returning numpy strings instead of python strings.

0 commit comments

Comments
 (0)